|
Laxkit
0.0.7.1
|
Simple class to keep track of undoes. More...
Public Member Functions | |
| virtual int | AddUndo (UndoData *data) |
| virtual int | Undo () |
| Default is to call current->context->Undo(), and move current. | |
| virtual int | Redo () |
| Default is to call current->context->Redo(), and move current. | |
Protected Attributes | |
| UndoData * | head |
| UndoData * | current |
Simple class to keep track of undoes.
Takes possession of data, and will delete it when done.