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

Method commandQuit

Tools/LayoutEditor/TestState.cpp:66–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 void TestState::commandQuit(const MyGUI::UString& _commandName, bool& _result)
67 {
68 if (MessageBoxManager::getInstance().hasAny())
69 return;
70
71 if (!StateManager::getInstance().getStateActivate(this))
72 return;
73
74 StateManager::getInstance().stateEvent("TestState", "Exit");
75
76 _result = true;
77 }
78
79 void TestState::deleteTestLayout()
80 {

Callers

nothing calls this directly

Calls 3

hasAnyMethod · 0.80
getStateActivateMethod · 0.80
stateEventMethod · 0.80

Tested by

no test coverage detected