… | |
… | |
94 | [5, "Pow"], |
94 | [5, "Pow"], |
95 | [6, "Cha"], |
95 | [6, "Cha"], |
96 | ) { |
96 | ) { |
97 | my ($x, $label) = @$_; |
97 | my ($x, $label) = @$_; |
98 | |
98 | |
99 | $statstable->add ($x, 0, $ws->new (Label => |
99 | $statstable->add_at ($x, 0, $ws->new (Label => |
100 | can_hover => 1, can_events => 1, |
100 | can_hover => 1, can_events => 1, |
101 | align => +1, text => $label, tooltip => "#stat_$label", |
101 | align => +1, text => $label, tooltip => "#stat_$label", |
102 | )); |
102 | )); |
103 | $statstable->add ($x, 1, $ws->{stat}{$label} = $ws->new (Label => |
103 | $statstable->add_at ($x, 1, $ws->{stat}{$label} = $ws->new (Label => |
104 | can_hover => 1, can_events => 1, |
104 | can_hover => 1, can_events => 1, |
105 | align => +1, template => "88", tooltip => "#stat_$label", |
105 | align => +1, template => "88", tooltip => "#stat_$label", |
106 | )); |
106 | )); |
107 | } |
107 | } |
108 | |
108 | |