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.114 by root, Sat Apr 15 13:56:25 2006 UTC vs.
Revision 1.115 by root, Sat Apr 15 19:35:20 2006 UTC

704 704
705 $child->set_parent ($self); 705 $child->set_parent ($self);
706 $self->{children}[$y][$x] = $child; 706 $self->{children}[$y][$x] = $child;
707 707
708 $self->{w} = $self->{h} = -1; 708 $self->{w} = $self->{h} = -1;
709 $self->update;
710}
711
712# TODO: move to container class maybe? send childs a signal on removal?
713sub clear {
714 my ($self) = @_;
715
716 delete $self->{children};
709 $self->update; 717 $self->update;
710} 718}
711 719
712sub get_wh { 720sub get_wh {
713 my ($self) = @_; 721 my ($self) = @_;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines