creator.core.actionstack

Undocumented in source.

Members

Functions

incActionCanRedo
bool incActionCanRedo()

Gets whether redo is possible

incActionCanUndo
bool incActionCanUndo()

Gets whether undo is possible

incActionClearHistory
void incActionClearHistory()

Clears action history

incActionGetUndoHistoryLength
size_t incActionGetUndoHistoryLength()

Gets max undo history

incActionHistory
Action[] incActionHistory()

Gets the action history

incActionIndex
size_t incActionIndex()

Index of the current action

incActionInit
void incActionInit()

Initialize actions system

incActionNotifyTopChanged
void incActionNotifyTopChanged()

Notify that the top action has changed

incActionPush
void incActionPush(Action action)

Pushes a new action to the stack

incActionRedo
void incActionRedo()

Steps forward in the action stack

incActionSetIndex
void incActionSetIndex(size_t index)

Sets the action index Indexes start at 1, 0 is reserved for the INTIAL index

incActionSetUndoHistoryLength
void incActionSetUndoHistoryLength(size_t length)

Sets max undo history length

incActionTop
Action incActionTop()

Gets the "top" action

incActionUndo
void incActionUndo()

Steps back in the action stack

Meta