|
|
void | push (std::unique_ptr< UndoCommand > command) |
| | Records a command, or folds it into the open group during a transaction.
|
| |
|
void | undo () |
| |
|
void | redo () |
| |
|
bool | canUndo () const |
| |
|
bool | canRedo () const |
| |
|
void | clear () |
| |
|
void | beginGroup () |
| | Opens a transaction so subsequent pushes collect into one atomic group.
|
| |
|
void | endGroup () |
| | Closes the innermost transaction, recording its commands as a single group.
|
| |
The documentation for this class was generated from the following files:
- src/Engine/UndoRedo/UndoStack.h
- src/Engine/UndoRedo/UndoStack.cpp