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

Method clearRows

Engine/source/gui/controls/guiGameListMenuCtrl.cpp:1029–1040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027}
1028
1029void GuiGameListMenuCtrl::clearRows()
1030{
1031 for (U32 i = 0; i < mRows.size(); i++)
1032 {
1033 if (mRows[i]->mBitmap != StringTable->EmptyString())
1034 mRows[i]->mBitmapTex = nullptr;
1035 }
1036
1037 mRows.clear();
1038 setSelected(-1);
1039 setHeight(mMinExtent.y);
1040}
1041
1042void GuiGameListMenuCtrl::refresh()
1043{

Callers 1

Calls 4

setHeightFunction · 0.85
EmptyStringMethod · 0.80
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected