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

Method shutdown

MyGUIEngine/src/MyGUI_WidgetManager.cpp:86–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84 }
85
86 void WidgetManager::shutdown()
87 {
88 MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised");
89 MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName());
90
91 Gui::getInstance().eventFrameStart -= newDelegate(this, &WidgetManager::notifyEventFrameStart);
92 _deleteDelayWidgets();
93
94 mVectorIUnlinkWidget.clear();
95
96 FactoryManager::getInstance().unregisterFactory(mCategoryName);
97
98 MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown");
99 mIsInitialise = false;
100 }
101
102 Widget* WidgetManager::createWidget(
103 WidgetStyle _style,

Callers

nothing calls this directly

Calls 4

getClassTypeNameFunction · 0.85
newDelegateFunction · 0.85
unregisterFactoryMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected