| 456 | //----------------------------------------------------------------------------- |
| 457 | |
| 458 | void GuiButtonBaseCtrl::onMessage( GuiControl *sender, S32 msg ) |
| 459 | { |
| 460 | Parent::onMessage(sender, msg); |
| 461 | if( mRadioGroup == msg && mButtonType == ButtonTypeRadio ) |
| 462 | { |
| 463 | setUpdate(); |
| 464 | mStateOn = ( sender == this ); |
| 465 | |
| 466 | // Update the console variable: |
| 467 | if ( mConsoleVariable[0] ) |
| 468 | Con::setBoolVariable( mConsoleVariable, mStateOn ); |
| 469 | } |
| 470 | } |
| 471 | |
| 472 | //============================================================================= |
| 473 | // Console Methods. |
nothing calls this directly
no test coverage detected