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

Comparing deliantra/Deliantra-Client/DC/Pod.pm (file contents):
Revision 1.10 by root, Mon Aug 14 01:54:08 2006 UTC vs.
Revision 1.13 by root, Mon Aug 14 19:17:09 2006 UTC

134 $text 134 $text
135} 135}
136 136
137my %as_paragraphs = ( 137my %as_paragraphs = (
138 image => sub { 138 image => sub {
139 my ($par, $path) = @_; 139 my ($par, $path, $flags) = @_;
140 140
141 push @{ $par->{widget} }, new CFPlus::UI::Image path => $path; 141 push @{ $par->{widget} }, new CFPlus::UI::Image path => $path,
142 $flags & 1 ? (max_h => $::FONTSIZE) : ();
142 143
143 "\x{fffc}" 144 "\x{fffc}"
144 }, 145 },
145 link => sub { 146 link => sub {
146 my ($par, $text, $link) = @_; 147 my ($par, $text, $link) = @_;
147 148
148 push @{ $par->{widget} }, new CFPlus::UI::Label 149 push @{ $par->{widget} }, new CFPlus::UI::Label
149 markup => "<span foreground='#ffff00'>↺</span><span foreground='#c0c0ff' underline='single'>" . (CFPlus::asxml $text) . "</span>", 150 markup => "<span foreground='#ffff00'>↺</span><span foreground='#c0c0ff' underline='single'>" . (CFPlus::asxml $text) . "</span>",
150 size => 0.8, 151 fontsize => 0.8,
151 can_hover => 1, 152 can_hover => 1,
152 can_events => 1, 153 can_events => 1,
153 padding_x => 0, 154 padding_x => 0,
154 padding_y => 0, 155 padding_y => 0,
155 tooltip => "Go to <i>" . (CFPlus::asxml $link) . "</i>", 156 tooltip => "Go to <i>" . (CFPlus::asxml $link) . "</i>",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines