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.169 by elmex, Mon Apr 24 10:43:39 2006 UTC vs.
Revision 1.170 by root, Mon Apr 24 11:45:17 2006 UTC

246} 246}
247 247
248# return top left coordinates 248# return top left coordinates
249sub _topleft { 249sub _topleft {
250 my ($self, $x, $y) = @_; 250 my ($self, $x, $y) = @_;
251
252 $self->{parent}
253 or Carp::confess "no parent widget in _topleft\n";#d#
251 254
252 $self->{parent}->_topleft ($x + $self->{x}, $y + $self->{y}); 255 $self->{parent}->_topleft ($x + $self->{x}, $y + $self->{y});
253} 256}
254 257
255# translate global coordinates to local coordinate system 258# translate global coordinates to local coordinate system

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines