protected void OnLogbrightnessHscaleChangeValue(object o, ChangeValueArgs args) { StartChangingParameters(); brightness_spinbutton.Value = (Math.Pow(10.95, logbrightness_hscale.Value) - 0.95); EndChangingParameters(); OnUserModified(); }
private void hscale1_ChangeValue(object o, ChangeValueArgs args) { this._isHscale = true; this.entry.Value = this.hscale1.Adjustment.Value; if (this.ValueChanged != null) { this.RaiseValueChanged((object)null, (System.Action)(() => this.ValueChanged((object)null, new PointEvent(Math.Round(this.hscale1.Adjustment.Value * this.changVaule, 0), 0.0, false)))); } this._isHscale = false; }
protected void OnPressureHscaleChangeValue(object o, ChangeValueArgs args) { if (((CompressSharpStageOperationParameters)Parameters).Type == CompressSharpStageOperationParameters.SharpType.Sharp) { ChangePressure(pressure_hscale.Value, PressureChanger.HScale); } else { ChangePressure(pressure_hscale.Value, PressureChanger.HScale); } }
protected void OnEdgePressureHscaleChangeValue(object o, ChangeValueArgs args) { ChangeEdgePressure(edgePressure_hscale.Value, EdgePressureChanger.HScale); }
protected void OnContrastHscaleChangeValue(object o, ChangeValueArgs args) { ChangeContrast(contrast_hscale.Value, ContrastChanger.HScale); }
protected void OnCurveHscaleChangeValue(object o, ChangeValueArgs args) { ChangeCurve(curve_hscale.Value, CurveChanger.HScale); }
protected void OnNoiseGateHscaleChangeValue(object o, ChangeValueArgs args) { ChangeNoiseGate(noiseGate_hscale.Value, NoiseGateChanger.HScale); }
protected void OnSoftnessHscaleChangeValue(object o, ChangeValueArgs args) { ChangeSoftness(softness_hscale.Value, SoftnessChanger.HScale); }
protected void OnEdgeHscaleChangeValue(object o, ChangeValueArgs args) { ChangeEdge(Math.Pow(11, edge_hscale.Value) - 1, EdgeChanger.HScale); }
protected void OnAlphaVscaleChangeValue(object o, ChangeValueArgs args) { toneselectorwidget1.Alpha = alpha_vscale.Value; }
protected void OnCutHscaleChangeValue(object o, ChangeValueArgs args) { ChangeCut(cut_hscale.Value, CutChanger.HScale); }
private void on_spinbutton_capacity_change_value(object sender, ChangeValueArgs a) { }
private void fontSizeSpinButton_ChangeValue(object o, ChangeValueArgs args) { }
void Scale_ChangeValue(object o, ChangeValueArgs args) { int idx = GetPropertyIndex(o as Widget); PropertyChanged?.Invoke(this, idx, -1, -1, GetPropertyValue(idx)); }