Laxkit  0.0.7.1
Public Member Functions | Protected Attributes
Laxkit::UndoManager Class Reference

Simple class to keep track of undoes. More...

List of all members.

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

UndoDatahead
UndoDatacurrent

Detailed Description

Simple class to keep track of undoes.


Member Function Documentation

int Laxkit::UndoManager::AddUndo ( UndoData data)
virtual

Takes possession of data, and will delete it when done.


The documentation for this class was generated from the following files:

Mon Feb 17 2014 11:53:00, Laxkit