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

Method findEntryByText

Engine/source/gui/controls/guiTextListCtrl.cpp:331–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

329}
330
331S32 GuiTextListCtrl::findEntryByText(const char *text)
332{
333 for(U32 i = 0; i < mList.size(); i++)
334 if(!dStricmp(mList[i].text, text))
335 return i;
336 return -1;
337}
338
339bool GuiTextListCtrl::isEntryActive(U32 id)
340{

Callers 1

Calls 2

dStricmpFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected