| 411 | //----------------------------------------------------------------------------- |
| 412 | |
| 413 | void GuiButtonBaseCtrl::setScriptValue(const char *value) |
| 414 | { |
| 415 | mStateOn = dAtob(value); |
| 416 | |
| 417 | // Update the console variable: |
| 418 | if ( mConsoleVariable[0] ) |
| 419 | Con::setBoolVariable( mConsoleVariable, mStateOn ); |
| 420 | |
| 421 | setUpdate(); |
| 422 | } |
| 423 | |
| 424 | //----------------------------------------------------------------------------- |
| 425 |
nothing calls this directly
no test coverage detected