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

Method UpdateHotSpotList

Descent3/ConfigItem.cpp:565–571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

563}
564
565void ConfigItem::UpdateHotSpotList(int index) {
566 ASSERT((index >= 0) && (index < m_rbCount));
567 m_iCurrentValue = index;
568 m_rbList[m_iCurrentValue]->Activate();
569 if (m_iCallback)
570 (*m_iCallback)(m_iCurrentValue);
571}
572
573void ConfigItem::UpdateSlider(int index, bool call_callback) {
574 ASSERT((index >= 0) && (index < m_sCount));

Callers

nothing calls this directly

Calls 1

ActivateMethod · 0.45

Tested by

no test coverage detected