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

Method endModal

Tools/EditorFramework/Dialog.cpp:29–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27 }
28
29 void Dialog::endModal()
30 {
31 MYGUI_ASSERT(mModal != false, "Already modal mode");
32 mModal = false;
33
34 mRootWidget->setVisible(false);
35
36 MyGUI::InputManager::getInstance().removeWidgetModal(mRootWidget);
37 DialogManager::getInstance()._removeDialog(this);
38
39 onEndModal();
40 }
41
42 void Dialog::setDialogRoot(MyGUI::Widget* _root)
43 {

Calls 4

onEndModalFunction · 0.85
removeWidgetModalMethod · 0.80
setVisibleMethod · 0.45
_removeDialogMethod · 0.45

Tested by 1

notifyEndDialogTestMethod · 0.36