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

Method controlIsChild

Engine/source/gui/core/guiControl.cpp:2172–2182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2170//-----------------------------------------------------------------------------
2171
2172bool GuiControl::controlIsChild( GuiControl* child )
2173{
2174 for( iterator i = begin(); i != end(); ++ i )
2175 {
2176 GuiControl* ctrl = static_cast< GuiControl* >( *i );
2177 if( ctrl == child || ctrl->controlIsChild( child ) )
2178 return true;
2179 }
2180
2181 return false;
2182}
2183
2184//=============================================================================
2185// Event Handling.

Callers 1

guiControl.cppFile · 0.80

Calls 2

beginFunction · 0.85
endFunction · 0.85

Tested by

no test coverage detected