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

Method pushToBack

Engine/source/gui/editor/guiEditCtrl.cpp:1465–1472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1463//-----------------------------------------------------------------------------
1464
1465void GuiEditCtrl::pushToBack()
1466{
1467 if( getNumSelected() != 1 )
1468 return;
1469
1470 GuiControl* ctrl = mSelectedControls.first();
1471 ctrl->getParent()->bringObjectToFront( ctrl );
1472}
1473
1474//-----------------------------------------------------------------------------
1475

Callers 1

DefineEngineMethodFunction · 0.80

Calls 4

getNumSelectedFunction · 0.85
bringObjectToFrontMethod · 0.80
firstMethod · 0.45
getParentMethod · 0.45

Tested by

no test coverage detected