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

Method pushToBack

Engine/source/gui/editor/guiEditCtrl.cpp:1452–1459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1450//-----------------------------------------------------------------------------
1451
1452void GuiEditCtrl::pushToBack()
1453{
1454 if( getNumSelected() != 1 )
1455 return;
1456
1457 GuiControl* ctrl = mSelectedControls.first();
1458 ctrl->getParent()->bringObjectToFront( ctrl );
1459}
1460
1461//-----------------------------------------------------------------------------
1462

Callers 3

EditorGuiFunction · 0.80
EditorGuiFunction · 0.80
DefineConsoleMethodFunction · 0.80

Calls 4

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

Tested by

no test coverage detected