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

Method addItem

MyGUIEngine/src/MyGUI_MenuControl.cpp:598–601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

596 }
597
598 MenuItem* MenuControl::addItem(const UString& _name, MenuItemType _type, std::string_view _id, Any _data)
599 {
600 return insertItemAt(ITEM_NONE, _name, _type, _id, _data);
601 }
602
603 void MenuControl::removeItem(MenuItem* _item)
604 {

Callers 1

setVisibleSmoothMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected