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