| 44 | } |
| 45 | |
| 46 | void FontManager::shutdown() |
| 47 | { |
| 48 | MYGUI_ASSERT(mIsInitialise, getClassTypeName() << " is not initialised"); |
| 49 | MYGUI_LOG(Info, "* Shutdown: " << getClassTypeName()); |
| 50 | |
| 51 | MyGUI::ResourceManager::getInstance().unregisterLoadXmlDelegate(mXmlFontTagName); |
| 52 | |
| 53 | const std::string& resourceCategory = ResourceManager::getInstance().getCategoryName(); |
| 54 | FactoryManager::getInstance().unregisterFactory<ResourceManualFont>(resourceCategory); |
| 55 | FactoryManager::getInstance().unregisterFactory<ResourceTrueTypeFont>(resourceCategory); |
| 56 | |
| 57 | MYGUI_LOG(Info, getClassTypeName() << " successfully shutdown"); |
| 58 | mIsInitialise = false; |
| 59 | } |
| 60 | |
| 61 | void FontManager::_load(xml::ElementPtr _node, std::string_view _file, Version _version) |
| 62 | { |
nothing calls this directly
no test coverage detected