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

Method reset

UnitTests/TestApp/ActionManager.cpp:175–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173 }
174
175 void ActionManager::reset()
176 {
177 clear();
178
179 Action* command = new Action();
180 mActions.push_back(command);
181
182 mCurrentAction = mActions.begin();
183 mActionAsSave = mActions.begin();
184 }
185}

Callers

nothing calls this directly

Calls 3

clearFunction · 0.85
push_backMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected