Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
323
S32 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
331
S32 GuiTextListCtrl::findEntryByText(const char *text)
332
{
Callers
1
guiTextListCtrl.cpp
File · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected