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

Comparing deliantra/Deliantra-Client/DC/UI/SpellList.pm (file contents):
Revision 1.4 by root, Wed Dec 26 21:03:21 2007 UTC vs.
Revision 1.5 by root, Sat Dec 29 13:44:31 2007 UTC

17 ) 17 )
18} 18}
19 19
20my $TOOLTIP_ALL = "\n\n<small>Left click - ready spell\nMiddle click - invoke spell\nRight click - further options</small>"; 20my $TOOLTIP_ALL = "\n\n<small>Left click - ready spell\nMiddle click - invoke spell\nRight click - further options</small>";
21 21
22my @TOOLTIP_NAME = (align => -1, can_events => 1, can_hover => 1, tooltip => 22my @TOOLTIP_NAME = (align => 0, can_events => 1, can_hover => 1, tooltip =>
23 "<b>Name</b>. The name of the spell.$TOOLTIP_ALL"); 23 "<b>Name</b>. The name of the spell.$TOOLTIP_ALL");
24my @TOOLTIP_SKILL = (align => -1, can_events => 1, can_hover => 1, tooltip => 24my @TOOLTIP_SKILL = (align => 0, can_events => 1, can_hover => 1, tooltip =>
25 "<b>Skill</b>. The skill (or magic school) required to be able to attempt casting this spell.$TOOLTIP_ALL"); 25 "<b>Skill</b>. The skill (or magic school) required to be able to attempt casting this spell.$TOOLTIP_ALL");
26my @TOOLTIP_LVL = (align => 1, can_events => 1, can_hover => 1, tooltip => 26my @TOOLTIP_LVL = (align => 1, can_events => 1, can_hover => 1, tooltip =>
27 "<b>Level</b>. Minimum level the caster needs in the associated skill to be able to attempt casting this spell.$TOOLTIP_ALL"); 27 "<b>Level</b>. Minimum level the caster needs in the associated skill to be able to attempt casting this spell.$TOOLTIP_ALL");
28my @TOOLTIP_SP = (align => 1, can_events => 1, can_hover => 1, tooltip => 28my @TOOLTIP_SP = (align => 1, can_events => 1, can_hover => 1, tooltip =>
29 "<b>Spell points / Grace points</b>. Amount of spell or grace points used by each invocation.$TOOLTIP_ALL"); 29 "<b>Spell points / Grace points</b>. Amount of spell or grace points used by each invocation.$TOOLTIP_ALL");
91 ; 91 ;
92 92
93 push @add, 1, $row, new DC::UI::Label 93 push @add, 1, $row, new DC::UI::Label
94 expand => 1, 94 expand => 1,
95 text => $spell->{name}, 95 text => $spell->{name},
96 align => 0,
96 can_hover => 1, 97 can_hover => 1,
97 can_events => 1, 98 can_events => 1,
98 tooltip => $tooltip, 99 tooltip => $tooltip,
99 on_button_down => $spell_cb, 100 on_button_down => $spell_cb,
100 ; 101 ;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines