Exemple #1
0
 protected virtual void OnVscrollbar1ChangeValue(object o, Gtk.ChangeValueArgs args)
 {
     //         asciiTV.SetScrollAdjustments(x,y);
     addrTV.SetScrollAdjustments(xAdj, vscrollbar1.Adjustment);
     hexTV.SetScrollAdjustments(xAdj, vscrollbar1.Adjustment);
     asciiTV.SetScrollAdjustments(xAdj, vscrollbar1.Adjustment);
 }
        protected void OnLogbrightnessHscaleChangeValue(object o, ChangeValueArgs args)
        {
            StartChangingParameters();
            brightness_spinbutton.Value = (Math.Pow(10.95, logbrightness_hscale.Value) - 0.95);

            EndChangingParameters();
            OnUserModified();
        }
 protected void OnSoftnessHscaleChangeValue(object o, ChangeValueArgs args)
 {
     ChangeSoftness(softness_hscale.Value, SoftnessChanger.HScale);
 }
 protected void OnCutHscaleChangeValue(object o, ChangeValueArgs args)
 {
     ChangeCut(cut_hscale.Value, CutChanger.HScale);
 }
Exemple #5
0
        // Widget: cbtMonitor
        // enable/disable monitor
        private void OnTimerChangeValueEvent(object sender, ChangeValueArgs args)
        {
            HScale  t = (HScale) sender;

            // Convert it to a TimeDelay and update GConf
            Config.Delay.DelayEnum d = (Config.Delay.DelayEnum) Convert.ToInt32(t.Value);
            DrapesApp.Cfg.SwitchDelay = d;
        }
Exemple #6
0
 protected void OnSpinSumChangeValue(object o, ChangeValueArgs args)
 {
     TestCanSave ();
 }
Exemple #7
0
 protected virtual void hsProgress_changeValue(object o, Gtk.ChangeValueArgs args)
 {
     oXbmc.Controls.SeekPercentage(Convert.ToInt32(hsProgress.Value));
 }
 protected void OnEdgeHscaleChangeValue(object o, ChangeValueArgs args)
 {
     ChangeEdge(Math.Pow(11, edge_hscale.Value) - 1, EdgeChanger.HScale);
 }
Exemple #9
0
 protected void OnSzenarioEndscaleChangeValue(object o, ChangeValueArgs args)
 {
     decimal baseVal = (decimal)szenario_base.ParsedText;
     decimal endVal = decimal.Round (baseVal * (decimal)szenario_endscale.Value/100, 4);
     szenario_end.Text = endVal.ToString ();
 }
 protected void OnAlphaVscaleChangeValue(object o, ChangeValueArgs args)
 {
     toneselectorwidget1.Alpha = alpha_vscale.Value;
 }
 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 OnNoiseGateHscaleChangeValue(object o, ChangeValueArgs args)
 {
     ChangeNoiseGate(noiseGate_hscale.Value, NoiseGateChanger.HScale);
 }
 protected void OnEdgePressureHscaleChangeValue(object o, ChangeValueArgs args)
 {
     ChangeEdgePressure(edgePressure_hscale.Value, EdgePressureChanger.HScale);
 }
 protected void OnCurveHscaleChangeValue(object o, ChangeValueArgs args)
 {
     ChangeCurve(curve_hscale.Value, CurveChanger.HScale);
 }
 protected void OnContrastHscaleChangeValue(object o, ChangeValueArgs args)
 {
     ChangeContrast(contrast_hscale.Value, ContrastChanger.HScale);
 }