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.165 by root, Mon Apr 24 08:22:22 2006 UTC vs.
Revision 1.166 by root, Mon Apr 24 08:38:36 2006 UTC

492sub new { 492sub new {
493 my ($class, %arg) = @_; 493 my ($class, %arg) = @_;
494 494
495 my $children = delete $arg{children} || []; 495 my $children = delete $arg{children} || [];
496 496
497 my $self = $class->SUPER::new (children => [], can_events => 0, %arg); 497 my $self = $class->SUPER::new (
498 children => [],
499 can_events => 0,
500 %arg,
501 );
498 $self->add ($_) for @$children; 502 $self->add ($_) for @$children;
499 503
500 $self 504 $self
501} 505}
502 506
751 755
752 my $self = $class->SUPER::new ( 756 my $self = $class->SUPER::new (
753 bg => [1, 1, 1, 1], 757 bg => [1, 1, 1, 1],
754 border_bg => [1, 1, 1, 1], 758 border_bg => [1, 1, 1, 1],
755 border => 0.8, 759 border => 0.8,
760 can_events => 1,
756 @_ 761 @_
757 ); 762 );
758 763
759 $self->{title} &&= new CFClient::UI::Label 764 $self->{title} &&= new CFClient::UI::Label
760 align => 0, 765 align => 0,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines