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

Method initialize

Plugins/Plugin_BerkeliumWidget/Plugin.cpp:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 }
27
28 void Plugin::initialize()
29 {
30 MYGUI_LOGGING(LogSection, Info, "initialize");
31
32 Berkelium::init(Berkelium::FileString::empty());
33
34 MyGUI::FactoryManager::getInstance().registerFactory<MyGUI::BerkeliumWidget>("Widget");
35 MyGUI::Gui::getInstance().eventFrameStart += MyGUI::newDelegate(this, &Plugin::update);
36 }
37
38 void Plugin::shutdown()
39 {

Callers

nothing calls this directly

Calls 3

initFunction · 0.85
newDelegateFunction · 0.85
emptyFunction · 0.50

Tested by

no test coverage detected