| 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, |
nothing calls this directly
no test coverage detected