ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/gde/GCE/EditAction.pm
(Generate patch)

Comparing deliantra/gde/GCE/EditAction.pm (file contents):
Revision 1.39 by elmex, Thu Jun 1 15:02:59 2006 UTC vs.
Revision 1.40 by elmex, Fri Jun 2 13:10:08 2006 UTC

131 my ($self) = @_; 131 my ($self) = @_;
132 132
133 my $vb = new Gtk2::VBox; 133 my $vb = new Gtk2::VBox;
134 $self->{widget} = $vb; 134 $self->{widget} = $vb;
135} 135}
136
137# Pick does not change the stack
138sub begin {}
139sub end {}
136 140
137sub edit { 141sub edit {
138 my ($self, $map, $x, $y) = @_; 142 my ($self, $map, $x, $y) = @_;
139 143
140 my $cstack = $map->get ($x, $y); 144 my $cstack = $map->get ($x, $y);
170 ); 174 );
171 175
172 $::MAINWIN->update_attr_editor ($aref); 176 $::MAINWIN->update_attr_editor ($aref);
173 $::MAINWIN->update_stack_view ($map, $ox, $oy); 177 $::MAINWIN->update_stack_view ($map, $ox, $oy);
174} 178}
175
176sub end {}
177 179
178package GCE::EditAction::Perl; 180package GCE::EditAction::Perl;
179 181
180use GCE::Util; 182use GCE::Util;
181use Gtk2; 183use Gtk2;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines