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

Method activateRow

Engine/source/gui/controls/guiGameListMenuCtrl.cpp:695–706  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695void GuiGameListMenuCtrl::activateRow()
696{
697 S32 row = getSelected();
698 if ((row != NO_ROW) && isRowEnabled(row) && (mRows[row]->mScriptCallback != NULL))
699 {
700 setThisControl();
701 if (Con::isFunction(mRows[row]->mScriptCallback))
702 {
703 Con::executef(mRows[row]->mScriptCallback);
704 }
705 }
706}
707
708S32 GuiGameListMenuCtrl::getRow(Point2I globalPoint)
709{

Callers 1

Calls 3

getSelectedFunction · 0.85
isFunctionFunction · 0.85
executefFunction · 0.85

Tested by

no test coverage detected