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

Method findEntryById

Engine/source/gui/controls/guiTextListCtrl.cpp:323–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323S32 GuiTextListCtrl::findEntryById(U32 id)
324{
325 for(U32 i = 0; i < mList.size(); i++)
326 if(mList[i].id == id)
327 return i;
328 return -1;
329}
330
331S32 GuiTextListCtrl::findEntryByText(const char *text)
332{

Callers 1

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected