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.364 by root, Sat Dec 23 10:18:27 2006 UTC vs.
Revision 1.365 by root, Thu Apr 12 07:53:31 2007 UTC

2830 #font => default_font 2830 #font => default_font
2831 @_, 2831 @_,
2832 2832
2833 layout => (new CFPlus::Layout), 2833 layout => (new CFPlus::Layout),
2834 par => [], 2834 par => [],
2835 max_par => 0,
2835 height => 0, 2836 height => 0,
2836 children => [ 2837 children => [
2837 (new CFPlus::UI::Empty expand => 1), 2838 (new CFPlus::UI::Empty expand => 1),
2838 (new CFPlus::UI::Slider vertical => 1), 2839 (new CFPlus::UI::Slider vertical => 1),
2839 ], 2840 ],
2962 wrapped => 1, 2963 wrapped => 1,
2963 }; 2964 };
2964 2965
2965 $self->add (@{ $para->{widget} }) if @{ $para->{widget} }; 2966 $self->add (@{ $para->{widget} }) if @{ $para->{widget} };
2966 push @{$self->{par}}, $para; 2967 push @{$self->{par}}, $para;
2968 }
2969
2970 if (my $max = $self->{max_par}) {
2971 shift @{$self->{par}} while @{$self->{par}} > $max;
2967 } 2972 }
2968 2973
2969 $self->{need_reflow}++; 2974 $self->{need_reflow}++;
2970 $self->update; 2975 $self->update;
2971} 2976}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines