| 531 | } |
| 532 | |
| 533 | void GuiGameSettingsCtrl::activate() |
| 534 | { |
| 535 | if(isSelected() && isEnabled() && (mScriptCallback != StringTable->EmptyString())) |
| 536 | { |
| 537 | setThisControl(); |
| 538 | if (Con::isFunction(mScriptCallback)) |
| 539 | { |
| 540 | Con::executef(mScriptCallback); |
| 541 | } |
| 542 | } |
| 543 | } |
| 544 | |
| 545 | void GuiGameSettingsCtrl::setSelected() |
| 546 | { |
no test coverage detected