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

Method commandQuit

Tools/SkinEditor/TestState.cpp:96–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 void TestState::commandQuit(const MyGUI::UString& _commandName, bool& _result)
97 {
98 if (MessageBoxManager::getInstance().hasAny())
99 return;
100
101 if (!StateManager::getInstance().getStateActivate(this))
102 return;
103
104 StateManager::getInstance().stateEvent("TestState", "Exit");
105
106 _result = true;
107 }
108
109 void TestState::notifyEndDialogTest(Dialog* _sender, bool _result)
110 {

Callers

nothing calls this directly

Calls 3

hasAnyMethod · 0.80
getStateActivateMethod · 0.80
stateEventMethod · 0.80

Tested by

no test coverage detected