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