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

Method updateHeight

Engine/source/gui/controls/guiGameListMenuCtrl.cpp:634–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632}
633
634void GuiGameListMenuCtrl::updateHeight()
635{
636 if (hasValidProfile())
637 {
638 S32 minHeight = getMinExtent().y;
639 if (getHeight() < minHeight)
640 {
641 setHeight(minHeight);
642 }
643 }
644}
645
646void GuiGameListMenuCtrl::onMouseDown(const GuiEvent &event)
647{

Callers

nothing calls this directly

Calls 3

getMinExtentFunction · 0.85
setHeightFunction · 0.85
getHeightFunction · 0.50

Tested by

no test coverage detected