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

Method createItem

MyGUIEngine/src/MyGUI_ControllerManager.cpp:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69 }
70
71 ControllerItem* ControllerManager::createItem(std::string_view _type)
72 {
73 IObject* object = FactoryManager::getInstance().createObject(mCategoryName, _type);
74 return object == nullptr ? nullptr : object->castType<ControllerItem>();
75 }
76
77 void ControllerManager::addItem(Widget* _widget, ControllerItem* _item)
78 {

Callers 10

notifyMousePressedMethod · 0.80
createWidgetMethod · 0.80
parseWidgetMethod · 0.80

Calls 1

createObjectMethod · 0.45

Tested by

no test coverage detected