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

Method shutdown

MyGUIEngine/src/MyGUI_FontManager.cpp:46–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 2

getClassTypeNameFunction · 0.85

Tested by

no test coverage detected