private void ResetMixerClicked(PropertyPage props, int propertyIndex) { var expansion = props.GetSelectedIndex(0); expansionMixer[expansion] = Settings.DefaultExpansionMixerSettings[expansion]; RefreshMixerSettings(); }
private void MixerPage_PropertyClicked(PropertyPage props, ClickType click, int propIdx, int rowIdx, int colIdx) { if (propIdx == 4 && click == ClickType.Button) { var expansion = props.GetSelectedIndex(1); expansionMixer[expansion] = Settings.DefaultExpansionMixerSettings[expansion]; RefreshMixerSettings(); } }
private void MixerPage_PropertyChanged(PropertyPage props, int propIdx, int rowIdx, int colIdx, object value) { var expansion = props.GetSelectedIndex(1); if (propIdx == 1) { RefreshMixerSettings(); } else if (propIdx == 2) { expansionMixer[expansion].volume = (float)(double)value; } else if (propIdx == 3) { expansionMixer[expansion].treble = (float)(double)value; } }
private void MixerPage_PropertyChanged(PropertyPage props, int idx, object value) { var expansion = props.GetSelectedIndex(0); if (idx == 0) { RefreshMixerSettings(); } else if (idx == 1) { // MATTT : Make sure slider updates on Linux / Mac. expansionMixer[expansion].volume = (float)(double)value; } else if (idx == 2) { expansionMixer[expansion].treble = (float)(double)value; } }