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

Method getItemText

Engine/source/gui/editor/popupMenu.cpp:276–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274}
275
276String PopupMenu::getItemText(S32 pos)
277{
278 if (mMenuItems.empty() || mMenuItems.size() < pos || pos < 0)
279 return String::EmptyString;
280
281 return mMenuItems[pos].mText;
282}
283
284//////////////////////////////////////////////////////////////////////////
285bool PopupMenu::canHandleID(U32 id)

Callers 2

popupMenu.cppFile · 0.45

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected