MCPcopy Create free account
hub / github.com/MyGUI/mygui / UndoManager

Method UndoManager

Tools/LayoutEditor/UndoManager.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 const int UNDO_COUNT = 64;
11
12 UndoManager::UndoManager() :
13 mOperations(UNDO_COUNT),
14 mSingletonHolder(this)
15 {
16 CommandManager::getInstance().getEvent("Command_Undo")->connect(this, &UndoManager::commandUndo);
17 CommandManager::getInstance().getEvent("Command_Redo")->connect(this, &UndoManager::commandRedo);
18 }
19
20 void UndoManager::initialise(EditorWidgets* _ew)
21 {

Callers

nothing calls this directly

Calls 2

connectMethod · 0.45
getEventMethod · 0.45

Tested by

no test coverage detected