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

Method doModal

Tools/EditorFramework/Dialog.cpp:14–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13
14 void Dialog::doModal()
15 {
16 MYGUI_ASSERT(mModal != true, "Already modal mode");
17 mModal = true;
18
19 MyGUI::InputManager::getInstance().addWidgetModal(mRootWidget);
20 MyGUI::LayerManager::getInstance().upLayerItem(mRootWidget);
21
22 onDoModal();
23
24 mRootWidget->setVisible(true);
25
26 DialogManager::getInstance()._addDialog(this);
27 }
28
29 void Dialog::endModal()
30 {

Callers 15

notifyClickAddMethod · 0.45
notifyClickAddMethod · 0.45
showLoadWindowMethod · 0.45
showSaveAsWindowMethod · 0.45
commandSettingsMethod · 0.45
initStateMethod · 0.45
notifyClickAddMethod · 0.45
notifyClickAddMethod · 0.45
showColourDialogMethod · 0.45
command_SettingsMethod · 0.45
command_CodeGeneratorMethod · 0.45
showLoadWindowMethod · 0.45

Calls 4

addWidgetModalMethod · 0.80
upLayerItemMethod · 0.45
setVisibleMethod · 0.45
_addDialogMethod · 0.45

Tested by 1

initStateMethod · 0.36