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

Method bringToFront

Engine/source/gui/editor/guiEditCtrl.cpp:1454–1461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

DefineEngineMethodFunction · 0.80

Calls 4

getNumSelectedFunction · 0.85
pushObjectToBackMethod · 0.80
firstMethod · 0.45
getParentMethod · 0.45

Tested by

no test coverage detected