| 27 | } |
| 28 | |
| 29 | void ControllerManager::initialise() |
| 30 | { |
| 31 | MYGUI_ASSERT(!mIsInitialise, getClassTypeName() << " initialised twice"); |
| 32 | MYGUI_LOG(Info, "* Initialise: " << getClassTypeName()); |
| 33 | |
| 34 | WidgetManager::getInstance().registerUnlinker(this); |
| 35 | |
| 36 | FactoryManager::getInstance().registerFactory<ControllerEdgeHide>(mCategoryName); |
| 37 | FactoryManager::getInstance().registerFactory<ControllerFadeAlpha>(mCategoryName); |
| 38 | FactoryManager::getInstance().registerFactory<ControllerPosition>(mCategoryName); |
| 39 | FactoryManager::getInstance().registerFactory<ControllerRepeatClick>(mCategoryName); |
| 40 | |
| 41 | MYGUI_LOG(Info, getClassTypeName() << " successfully initialized"); |
| 42 | mIsInitialise = true; |
| 43 | } |
| 44 | |
| 45 | void ControllerManager::shutdown() |
| 46 | { |
nothing calls this directly
no test coverage detected