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

Method resize

Engine/source/gui/containers/guiStackCtrl.cpp:351–361  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349}
350
351bool GuiStackControl::resize(const Point2I &newPosition, const Point2I &newExtent)
352{
353 if( !Parent::resize( newPosition, newExtent ) )
354 return false;
355
356 updatePanes();
357
358 // CodeReview This logic should be updated to correctly return true/false
359 // based on whether it sized it's children. [7/1/2007 justind]
360 return true;
361}
362
363void GuiStackControl::addObject(SimObject *obj)
364{

Callers 2

stackVerticalMethod · 0.45
stackHorizontalMethod · 0.45

Calls 1

resizeFunction · 0.50

Tested by

no test coverage detected