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

Method findChildByName

Engine/source/gui/controls/guiTreeViewCtrl.cpp:714–726  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

712//-----------------------------------------------------------------------------
713
714GuiTreeViewCtrl::Item* GuiTreeViewCtrl::Item::findChildByName( const char* name )
715{
716 Item* child = mChild;
717 while( child )
718 {
719 if( dStricmp( child->mScriptInfo.mText, name ) == 0 )
720 return child;
721
722 child = child->mNext;
723 }
724
725 return NULL;
726}
727
728//-----------------------------------------------------------------------------
729

Callers 1

Calls 1

dStricmpFunction · 0.85

Tested by

no test coverage detected