ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/DC/MapWidget.pm
(Generate patch)

Comparing deliantra/Deliantra-Client/DC/MapWidget.pm (file contents):
Revision 1.24 by root, Wed May 17 10:14:52 2006 UTC vs.
Revision 1.25 by root, Wed May 17 15:18:57 2006 UTC

245 245
246 (my $data = $command) =~ s/\\//g; 246 (my $data = $command) =~ s/\\//g;
247 247
248 $tooltip =~ s/^\s+//; 248 $tooltip =~ s/^\s+//;
249 249
250 $tooltip = "<big>" . (CFClient::UI::Label::escape $data) . "</big>\n\n" 250 $tooltip = "<big>$data</big>\n\n$tooltip";
251 . CFClient::UI::Label::escape $tooltip;
252 251
253 $tooltip =~ s/\s+$//; 252 $tooltip =~ s/\s+$//;
254 253
255 $self->{command}{$command} = [$data, $tooltip, $widget, $cb]; 254 $self->{command}{$command} = [$data, $tooltip, $widget, $cb];
256} 255}
359 $self->add ($self->{vbox} = new CFClient::UI::VBox); 358 $self->add ($self->{vbox} = new CFClient::UI::VBox);
360 359
361 $self->{label} = [ 360 $self->{label} = [
362 map 361 map
363 CFClient::UI::Label->new ( 362 CFClient::UI::Label->new (
364 can_hover => 1, 363 can_hover => 1,
365 can_events => 1, 364 can_events => 1,
365 tooltip_width => 0.33,
366 fontsize => $_, 366 fontsize => $_,
367 ), (0.8) x 6 367 ), (0.8) x 6
368 ]; 368 ];
369 369
370 $self->{entry} = new CFClient::UI::Entry 370 $self->{entry} = new CFClient::UI::Entry
371 connect_changed => sub { 371 connect_changed => sub {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines