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

Comparing deliantra/server/ext/item-worldmap.ext (file contents):
Revision 1.12 by root, Tue Jul 24 00:31:58 2007 UTC vs.
Revision 1.13 by root, Tue Jul 24 04:55:34 2007 UTC

26 text => $k, 26 text => $k,
27 fontsize => 0.2, 27 fontsize => 0.2,
28 ); 28 );
29 29
30 my $marker = $ws->new (Face => 30 my $marker = $ws->new (Face =>
31 face => $ws->{ns}->find_face ("res/map-arrow.png"), 31 face => $ws->{ns}->need_face ("res/map-arrow.png"),
32 ); 32 );
33 my $children = [$label, $marker]; 33 my $children = [$label, $marker];
34 34
35 $ws->{canvas}->add (my $vbox = $ws->new (VBox => 35 $ws->{canvas}->add (my $vbox = $ws->new (VBox =>
36 children => $children, 36 children => $children,
80 $sw->add (my $canvas = $ws->{canvas} = $ws->new (Canvas => expand => 1)); 80 $sw->add (my $canvas = $ws->{canvas} = $ws->new (Canvas => expand => 1));
81 81
82 $ws->{mapface} = $ws->new (Face => 82 $ws->{mapface} = $ws->new (Face =>
83 size_w => undef, 83 size_w => undef,
84 size_h => undef, 84 size_h => undef,
85 face => $ws->{ns}->find_face ("res/worldmap.jpg"), 85 face => $ws->{ns}->need_face ("res/worldmap.jpg"),
86 ); 86 );
87 87
88 $ws->{canvas}->add ($ws->{mapface}); 88 $ws->{canvas}->add ($ws->{mapface});
89 89
90 $ws 90 $ws

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines