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

Method setTop

Engine/source/gui/core/guiControl.cpp:1345–1348  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1343//-----------------------------------------------------------------------------
1344
1345void GuiControl::setTop( S32 newTop )
1346{
1347 resize( Point2I( mBounds.point.x, newTop ), mBounds.extent );
1348}
1349
1350//-----------------------------------------------------------------------------
1351

Callers 1

justifySelectionMethod · 0.80

Calls 2

resizeFunction · 0.50
Point2IClass · 0.50

Tested by

no test coverage detected