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

Method UpdateListBox

Descent3/ConfigItem.cpp:620–625  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620void ConfigItem::UpdateListBox(int index) {
621 ASSERT((index >= 0) && (index < m_lbCount));
622 m_iCurrentValue = m_lbList[index]->GetSelectedIndex();
623 if (m_iCallback)
624 (*m_iCallback)(m_iCurrentValue);
625}
626
627void ConfigItem::UpdateYesNoButton(int index) {
628 ASSERT((index >= 0) && (index < m_bCount));

Callers

nothing calls this directly

Calls 1

GetSelectedIndexMethod · 0.45

Tested by

no test coverage detected