-
... ; // interactive example: // small xy sliders influence the big XY, // vertical ezsliders set influence of each XY. ( w = Window("InfluxMix - 3 top xy sliders influence big XY", Rect(10, 10, 550, 400)).front; w.addFlowLayout; // EnvirGui(a. ...
-
... ut; PdefGui(Pdef(\test), 2, w, 340@80); // can lose control if wiggled too fast EZSlider(w, 340@30, \softSetDur, [0.03, 3, \exp], { |sl| Pdef(\test).softSet(\dur, sl.value, 0.05) }); // knows it was in control EZSlider(w, 340@30, \knowsLast ...
-
... stop; }); ~w.view.decorator = FlowLayout (~w.view.bounds, 2@2, 2@2); ~ampView = EZSlider (~w, 295@20, "amplitude" , \amp , labelWidth: 80, numberWidth: 60); ~ampView.sliderView.canFocus_( false ).enabled_( false ); ~ampView.numberView.canFo ...
-
... the number of display items to use, e.g. how many fields for text, or how many EZSliders for single-number parameters. parent - a parent view on which to display. If nil, a new window is created; parent can also be an existing window or a ...
-
... value == 0) { NTMI.flatcat.setRel } { NTMI.flatcat.setAbs } }, labelWidth: 60); EZSlider(butzone, 200@20, \zoom, \unipolar, { |sl| NTMI.flatcat.zoom = sl.value}, labelWidth: 40); win; }); try { Window.find(\flatcat).close }; WinBounds.showO ...
-
... .stop; }); ~w.view.decorator = FlowLayout(~w.view.bounds, 2@2, 2@2); ~ampView = EZSlider(~w, 295@20, "amplitude", \amp, labelWidth: 80, numberWidth: 60); ~ampView.sliderView.canFocus_(false).enabled_(false); ~ampView.numberView.canFocus_(fa ...
-
/* * FILENAME: SCMRangeSliderView * * DESCRIPTION: * Based on the sclang EZSlider, however it's a child of View and the child views are organised by a layout, so it can scale. * * SCMRangeSliderView(nil, 400@100, \db.asSpec, 0.5, "test").fr ...
-
... value }.defer; }); vw.onClose_({ ctrl.remove }); vw.labelWidth = 80; // same as EZSlider vw.applySkin( RoundView.skin ); // compat with smooth views if( resize.notNil ) { vw.view.resize = resize }; ^vw } setView { |view, value, active = fal ...
-
... 0@20).string_("seeds:" + q.inph.randSeeds).align_(\center).font_(font); presl = EZSlider(infComp, 330@20, "WeightsPreset", [0, q.inph.randSeeds.lastIndex, \lin, 1], { |ez| NTMI.inph.setWPreIndex(ez.value.asInteger); q.inphlux.calcOutVals; } ...
-
... se"]]); Button.new(w,Rect(0,0,50,25)).states_([["Stop"]]); w.startRow; 7.do{|i| EZSlider.new(w,Rect(0,0,270,20), "slider"+i); }; } }; cb.valueAction_(i-1); // converts to boolean. collapse the first two. // You must call valueAction_ AFTER ...