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

Method CopyToControls

editor/TerrainSoundDialog.cpp:108–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106}
107
108void CTerrainSoundDialog::CopyToControls() {
109 m_low_alt = m_bands[m_current].low_alt;
110 m_high_alt = m_bands[m_current].high_alt;
111 m_low_volume = m_bands[m_current].low_volume;
112 m_high_volume = m_bands[m_current].high_volume;
113 m_sound_combo.SetSelected(m_bands[m_current].sound_index);
114
115 UpdateData(false);
116}
117
118void CTerrainSoundDialog::CopyFromControls() {
119 UpdateData(true);

Callers

nothing calls this directly

Calls 1

SetSelectedMethod · 0.45

Tested by

no test coverage detected