-
... .string_(("%/%%".format("azi".asSymbol, "ele".asSymbol, i).asSymbol)); orient = Slider2D.new(container, Rect(0, 0, 100, 100)); orient.action_({|sl| ~satie.groupInstances[\default][nodeName.asSymbol].set(\aziDeg, aziSpec.map(sl.x), \eleDeg, ...
-
... 2, Rect(200, 0, 160, 20)) .align_(\center).string_("Change inputs:"); q.sl2d1 = Slider2D(q.comp2, Rect(200, 30, 170, 170)).x_(0.5).y_(0.5) .background_( Color.new255(200, 100, 0) ) .action_({|sl| // recording into KtlLoop here k.recordEvent ...
-
... lors = 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 ...
-
... 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. ...
-
... A rotary controller view Source: QKnob.sc Subclasses: QKnob See also: Slider , Slider2D Description Knob displays a value from 0.0 to 1.0 in rotary fashion, and allows to control it with either circular or linear mouse motion. It also disp ...
-
... w = Window (scroll: true ); // you must set this when the window is created c = Slider2D (w, Rect (0, 0, 1500, 300)); d = Slider (w, Rect (0, 310, 20, 300)); c.background = Color .grey.alpha = 0.6; d.background = Color .grey.alpha = 0.6; w. ...
-
... ex] = val * 2 - 1; module.theta.postln; }; w.layout = h; w.front; h.add( twod = Slider2D().action_({ |v| xsl.do { |i| update.(i, v.x) }; ysl.do { |i| update.(i, v.y) }; }); ); sliders = module.theta.collect { |x, i| var sl = Slider(); sl.ac ...
-
... 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 ...