| 648 | } |
| 649 | |
| 650 | void ConfigItem::UpdateRadioButton(int index) { |
| 651 | ASSERT((index >= 0) && (index < m_rbCount)); |
| 652 | m_rbList[index]->Activate(); |
| 653 | m_iCurrentValue = index; |
| 654 | |
| 655 | if (m_iCallback) |
| 656 | (*m_iCallback)(m_iCurrentValue); |
| 657 | } |
| 658 | |
| 659 | void ConfigItem::Add(int count, ...) { |
| 660 | if (!m_bAlive) |