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

Method findChildByName

Engine/source/gui/controls/guiTreeViewCtrl.cpp:708–720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706//-----------------------------------------------------------------------------
707
708GuiTreeViewCtrl::Item* GuiTreeViewCtrl::Item::findChildByName( const char* name )
709{
710 Item* child = mChild;
711 while( child )
712 {
713 if( dStricmp( child->mScriptInfo.mText, name ) == 0 )
714 return child;
715
716 child = child->mNext;
717 }
718
719 return NULL;
720}
721
722//-----------------------------------------------------------------------------
723

Callers 1

Calls 1

dStricmpFunction · 0.85

Tested by

no test coverage detected