turns on button, turns off others in group.
| 466 | |
| 467 | // turns on button, turns off others in group. |
| 468 | void UICheckBox::SetCheck(bool state) { |
| 469 | if (state) { |
| 470 | m_State = UI_BTS_ACTIVATED; |
| 471 | } else { |
| 472 | m_State = UI_BTS_INACTIVE; |
| 473 | } |
| 474 | } |
| 475 | |
| 476 | // behavior when gadget is being drawn. |
| 477 | void UICheckBox::OnDraw() { |
no outgoing calls
no test coverage detected