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

Method setRowLabel

Engine/source/gui/controls/guiGameListMenuCtrl.cpp:1018–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1016}
1017
1018void GuiGameListMenuCtrl::setRowLabel(S32 rowIndex, const char * label)
1019{
1020 if (! isValidRowIndex(rowIndex))
1021 {
1022 // not a valid row index, don't do anything
1023 return;
1024 }
1025
1026 mRows[rowIndex]->mLabel = StringTable->insert(label, true);
1027}
1028
1029void GuiGameListMenuCtrl::clearRows()
1030{

Callers 1

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected