-
... rView(q.win, q.win.bounds.extent * [0.2, 0.4]).size_(q.numVals); q.sliderview = Slider2D(q.win, q.win.bounds.extent * [0.4, 0.4]); ); ( q.skippy.notNil.if{q.skippy.stop}; q.skippy = SkipJack({ q.barview.valueAction = q.allVectors; q.sliderv ...
-
... ncFreq.setUnmappedValue( y = 1.0.rand ); joy.x_(x).y_(y).changed; }); joy = GUI.slider2D.new(layout, 100 @ 100) .action_({ arg sl; // at this time not in environment metaPatch.use({ // use the metaPatch's environment ~freq.setUnmappedValue( ...
-
... } } Red2DSlider { *new {|parent, bounds| bounds= bounds ?? {Point(100, 100)}; ^Slider2D(parent, bounds) .knobColor_(GUI.skins.redFrik.foreground) .background_(GUI.skins.redFrik.background); } } RedButton { *new {|parent, bounds ...strings| ...
-
... os, 60, 18); vpos = vpos + 20; GUI.staticText.new(w, vbounds); }); slider = GUI.slider2D.new( w, Rect( 2, vpos, 125, 125 ) ); slider.action = { |sl| this.set( [sl.x, sl.y].asPoint*rect.extent + rect.origin ) }; w.front; guiUpdate = { defer{ ...
-
... sSpec.map(val)) } ) ); ); ( w = Window("record moves and play them").front; t = Slider2D(w, Rect(0,0, 160, 160)) .action_({ |sl| var x, y; x = sl.x; y = sl.y; c.recordEvent(\x, x); c.recordEvent(\y, y); Ndef(\test).set( \pFreq, \pFreq.asSpe ...
-
... dow("SC grids", Rect(100, 100, 400, 580)); [\hh, \k, \sd].do({|instrument, num| Slider2D(w, Rect(20, 20 + (180*num), 150, 150)) .x_(0.5) .y_(0.5) .action_({|sl| Tdef(instrument).set(\x, sl.x); Tdef(instrument).set(\y, sl.y); }); StaticText( ...
-
... nil ), VLayout( StaticText().string_("Filter"), Slider2D() .x_(0.05) .y_(0.05) .action_({ arg slider; filter1 = slider.y.value.linexp(0,1,300,20000,nil); filter2 = slider.x.v ...
-
... , child, sibling1, sibling2; win = Window(bounds:Rect(30,30,300,300)); parent = Slider2D(win, win.bounds.moveTo(0,0).insetBy(50,50)); // A StaticText will propagate mouse clicks to parent by default: child = StaticText(parent, Rect(100,-50, ...
-
... RangeSlider SCRangeSlider JSCRangeSlider horizontal or vertical interval slider Slider2D SC2DSlider JSC2DSlider a horizontally and vertically moveable slider TextField SCTextField JSCTextField an editable one line text field ListView SCList ...
-
... d = Color.blue; [\compositeView,\hLayoutView,\vLayoutView,\slider,\rangeSlider,\slider2D,\tabletSlider2D, \button,\popUpMenu,\staticText,\listView,\dragSource,\dragSink,\dragBoth,\numberBox,\textField,\userView, \multiSliderView,\envelopeVi ...