MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / addMenu

Method addMenu

Engine/source/gui/editor/guiMenuBar.cpp:798–806  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796}
797
798void GuiMenuBar::addMenu(GuiMenuBar::Menu *newMenu, S32 pos)
799{
800 // add it to the menu list
801 menuBarDirty = true;
802 if (pos == -1)
803 mMenuList.push_back(newMenu);
804 else
805 mMenuList.insert(pos, newMenu);
806}
807
808void GuiMenuBar::addMenu(const char *menuText, U32 menuId)
809{

Callers 3

GuiFormClassFunction · 0.80
GuiFormClassFunction · 0.80
guiMenuBar.cppFile · 0.80

Calls 2

push_backMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected