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

Method destroyScene

Demos/Demo_PluginStrangeButton/DemoKeeper.cpp:66–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 void DemoKeeper::destroyScene()
67 {
68 MyGUI::Gui::getInstance().destroyChildWidget(m_button);
69
70#ifdef MYGUI_STATIC
71 MyGUI::PluginManager::getInstance().uninstallPlugin(plugin_item);
72 delete plugin_item;
73 plugin_item = nullptr;
74#else
75 #ifdef _DEBUG
76 MyGUI::PluginManager::getInstance().unloadPlugin("Plugin_StrangeButton_d.dll");
77 #else
78 MyGUI::PluginManager::getInstance().unloadPlugin("Plugin_StrangeButton.dll");
79 #endif
80#endif
81 }
82
83} // namespace demo
84

Callers

nothing calls this directly

Calls 3

destroyChildWidgetMethod · 0.80
uninstallPluginMethod · 0.80
unloadPluginMethod · 0.80

Tested by

no test coverage detected