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.113 by root, Sat Apr 15 12:46:48 2006 UTC vs.
Revision 1.114 by root, Sat Apr 15 13:56:25 2006 UTC

1960 1960
1961 # TODO: use animation 1961 # TODO: use animation
1962 if ($self->{state} = !$self->{state}) { 1962 if ($self->{state} = !$self->{state}) {
1963 $CFClient::UI::ROOT->add ($self->{other}); 1963 $CFClient::UI::ROOT->add ($self->{other});
1964 $self->{other}->move ($self->coord2global (0, $self->{h})); 1964 $self->{other}->move ($self->coord2global (0, $self->{h}));
1965 $self->emit ("open");
1965 } else { 1966 } else {
1966 $CFClient::UI::ROOT->remove ($self->{other}); 1967 $CFClient::UI::ROOT->remove ($self->{other});
1968 $self->emit ("close");
1967 } 1969 }
1970
1971 $self->emit (changed => $self->{state});
1968} 1972}
1969 1973
1970############################################################################# 1974#############################################################################
1971 1975
1972package CFClient::UI::Root; 1976package CFClient::UI::Root;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines