ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/widget.ext
(Generate patch)

Comparing deliantra/server/ext/widget.ext (file contents):
Revision 1.6 by root, Mon Jul 16 09:07:12 2007 UTC vs.
Revision 1.7 by root, Mon Jul 16 14:09:40 2007 UTC

53 53
54 my $face = cf::face::find "res/worldmap.jpg"; 54 my $face = cf::face::find "res/worldmap.jpg";
55 $ns->send_face ($face); 55 $ns->send_face ($face);
56 56
57 $w->add (my $sw = $ws->new (ScrolledWindow => scroll_x => 1, scroll_y => 1)); 57 $w->add (my $sw = $ws->new (ScrolledWindow => scroll_x => 1, scroll_y => 1));
58 $sw->add (my $vb = $ws->new (VBox => expand => 1)); 58 $sw->add (my $fixed = $ws->new (Fixed => expand => 1));
59 #$vb->add ($ws->new (Label => text => "lb1"));
60 $vb->add ($ws->new (Face => expand => 1, size_w => undef, size_h => undef, face => $face)); 59 $fixed->add ($ws->new (Face => expand => 1, size_w => undef, size_h => undef, face => $face), abs => 0, 0, rel => 1, 1);
61 $sw->show; 60 $fixed->add ($ws->new (Label => text => "lb1"), abs => 10, 10, rel => 1, 1);
62 $vb->show;
63 61
64 $w->show; 62 $w->show;
65} 63}
66 64
67sub csc_start { 65sub csc_start {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines