MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / UpdateRadioButton

Method UpdateRadioButton

Descent3/ConfigItem.cpp:650–657  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650void 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
659void ConfigItem::Add(int count, ...) {
660 if (!m_bAlive)

Callers

nothing calls this directly

Calls 1

ActivateMethod · 0.45

Tested by

no test coverage detected