Class: Gnm::Command
- Inherits:
-
Object
- Object
- Gnm::Command
- Defined in:
- (unknown)
Class Method Summary collapse
- .finalize(obj) ⇒ nil
-
.list_release(cmds) ⇒ nil
command_list_release : utility routine to free the resources associated with a list of commands.
-
.push_undo(wbc, obj) ⇒ Boolean
An internal utility to tack a new command onto the undo list.
-
.redo(wbc) ⇒ nil
Redo the last command that was undone.
-
.repeat(wbc) ⇒ nil
Repeat the last command (if possible).
-
.setup_combos(wbc) ⇒ nil
Initialize the combos to correspond to the current undo/redo state.
-
.undo(wbc) ⇒ nil
Undo the last command executed.
Class Method Details
.finalize(obj) ⇒ nil
.list_release(cmds) ⇒ nil
command_list_release : utility routine to free the resources associated with a list of commands.
NOTE : remember to NULL the list when you are done.
.push_undo(wbc, obj) ⇒ Boolean
An internal utility to tack a new command onto the undo list.
.redo(wbc) ⇒ nil
Redo the last command that was undone. Any user level errors generated by redoing will be reported here.
.repeat(wbc) ⇒ nil
Repeat the last command (if possible)
Any user level errors generated by redoing will be reported
here.
.setup_combos(wbc) ⇒ nil
Initialize the combos to correspond to the current undo/redo state.
.undo(wbc) ⇒ nil
Undo the last command executed.