UndoableStack

Implements an undoable event list with automatic handling of undo/redo commands

Constructors

this
this(size_t maxElements)
Undocumented in source.

Members

Functions

addToTop
void addToTop(UndoableEvent e)

Adds an event to the top of the stack. If there are any undone events, they'll be lost. Bottom event is also lost.

redo
void redo()

Redos top event.

undo
void undo()

Undos top event.

Meta