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

Method doAction

UnitTests/TestApp/ActionManager.cpp:57–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 void ActionManager::doAction(Action* _command)
58 {
59 removeRedo();
60
61 mActions.push_back(_command);
62 mCurrentAction++;
63
64 updateMaxActions();
65
66 _command->doAction();
67
68 onChangeActions();
69 }
70
71 void ActionManager::undoAction()
72 {

Callers 1

redoActionMethod · 0.45

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected