MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / findMenu

Method findMenu

Engine/source/gui/editor/guiMenuBar.cpp:1484–1493  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1482}
1483
1484PopupMenu* GuiMenuBar::findMenu(String barTitle)
1485{
1486 for (U32 i = 0; i < mMenuList.size(); i++)
1487 {
1488 if (String::ToLower(mMenuList[i].text) == String::ToLower(barTitle))
1489 return mMenuList[i].popupMenu;
1490 }
1491
1492 return nullptr;
1493}
1494
1495//-----------------------------------------------------------------------------
1496// Console Methods

Callers 1

guiMenuBar.cppFile · 0.80

Calls 2

ToLowerFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected