ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/UI.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/UI.pm (file contents):
Revision 1.97 by root, Fri Apr 14 02:03:11 2006 UTC vs.
Revision 1.98 by root, Fri Apr 14 02:06:22 2006 UTC

116} 116}
117 117
118sub _size_allocate { 118sub _size_allocate {
119 my ($self, $x, $y, $w, $h) = @_; 119 my ($self, $x, $y, $w, $h) = @_;
120 120
121 $self->{x} = int $x; 121 $self->{x} = $x;
122 $self->{y} = int $y; 122 $self->{y} = $y;
123 123
124 return unless $self->{w} != $w || $self->{h} != $h; 124 return unless $self->{w} != $w || $self->{h} != $h;
125 125
126 $self->{w} = int $w; 126 $self->{w} = $w;
127 $self->{h} = int $h; 127 $self->{h} = $h;
128 128
129 1 129 1
130} 130}
131 131
132sub size_allocate { 132sub size_allocate {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines