-
... ors = Array.fill(model.numChannels, model.spec.color); layout.startRow; d = GUI.slider2D.new(layout, size@30) .action_({|sl| var y; v.zoomToFrac(y = sl.y * 0.9 + 0.1); v.scrollTo(sl.x); //d.thumbSize = size * y; }); layout.startRow; CXLabel ...
-
... rect| rect = rect ?? ~tdsliderRect; cv.asArray.do({ | cv | CVSyncProperties(cv, Slider2D(win,rect), #[x, y]) }); }, popup: { |win, name, cv, rect | rect = rect ?? ~popupRect; cv.asArray.do({ | cv | SVSync(cv, PopUpMenu(win,rect)) }); }, lis ...
-
... ; positionLayout = HLayoutView(parent, Rect(0,0,sliderHeight+40,sliderHeight)); Slider2D(positionLayout, Rect(0,0,sliderHeight,sliderHeight)) .x_(initialX.linlin(min,max,0,1)) .y_(initialY.linlin(min,max,0,1)) .action_{ |slider| xNumberBox. ...
-
... PanWidget : MixerWidgetBase { var yspec; makeView { |layout, bounds| view = GUI.slider2D.new(layout, bounds); spec = try { mixer.controls[\xpos].spec } ?? { \bipolar.asSpec }; yspec = try { mixer.controls[\ypos].spec } ?? { \bipolar.asSpec ...
-
... PanWidget : MixerWidgetBase { var yspec; makeView { |layout, bounds| view = GUI.slider2D.new(layout, bounds); spec = try { mixer.controls[\xpos].spec } ?? { \bipolar.asSpec }; yspec = try { mixer.controls[\ypos].spec } ?? { \bipolar.asSpec ...
-
... vol]); }); }); this.startTimeCursor; }); }); soundfile.close; zoomSlider = GUI.slider2D.new(win, Rect(60, 195, 176, 40 )) // scroll w/zoom x - felix! .canFocus_(false) .action_({|sl| var y; sndfileview.zoomToFrac(y = sl.y * 0.95 + 0.05); s ...
-
... ght + ~gap.x, out[17].bounds.bottom + ~gap.y, ~xyExtent.x, ~xyExtent.y), class: Slider2D, init: inEnvir { |view| view.background_(~yellowFor2D).knobColor_(~yellow) }, updater: { |view, x, y| view.setXY(x, 1.0 - y) } )); out }.value, "Tab2", ...
-
... ("SC grids", Rect(100, 100, 400, 580)); ["hh", "sd", "k"].do({|instrument, num| Slider2D(w, Rect(20, 20 + (180*num), 150, 150)) .x_(0.5) .y_(0.5) .action_({|sl| q[\pattern]["%X".format(instrument).asSymbol] = sl.x; q[\pattern]["%Y".format(i ...
-
... heChanger.value[0], { // connect sliders switch(this.class, CVWidget2D, { [this.slider2d, this.rangeSlider].do({ |view| sliderConnection ?? { sliderConnection = () }; switch (view.class, Slider2D, { sliderConnection.put(\td, [widgetCV.lo, w ...
-
... .maxWidth_(10) ); }); hlay = HLayout(sliderText, levelText); //panning knob(s)/slider2D(s) panKey = ("space" ++ mixTrackNames[index].asString.capitalise).asSymbol; panKeyValues = Ndef(panKey).getKeysValues.reject({|item| item.asString.cont ...