-
... x/2, wh.y/2) }.(800@600)).front; p = PaneView(w.view, \horizontal, 3, [1,2,1]); Slider2D(p.panes[0], p.panes[0].bounds.extent).resize_(5); {|v| p.panes[1].layout_(VLayout(Knob(), HLayout(Knob(), v))); {|p| {|p| Knob(p, p.bounds.extent).resi ...
-
... Street, Fifth Floor, Boston, MA 02110-1301 USA */ CVWidget2D : CVWidget { var <slider2d, <rangeSlider, <numVal, <specBut; var <midiHead, <midiLearn, <midiSrc, <midiChan, <midiCtrl, <oscEditBut, <calibBut, <actionsBut; *new { |parent, widge ...
-
... ec: [-100, 100], type: \joyAxis, ioType: \in)); y.action_(MFunc()); ) // make a Slider2D to set x and y from gui ( Slider2D(nil, Rect(0,0,200,200)).action_({ |sl2d| x.valueAction_(sl2d.x); y.valueAction_(sl2d.y); }).front; ) ( // add loggin ...
-
... mberBox: CVSyncValue, slider: CVSyncInput, rangeSlider: CVSyncProps(#[lo, hi]), slider2D: CVSyncProps(#[x, y]), multiSliderView: CVSyncMulti, popUpMenu: SVSync, listView: SVSync, tabletSlider2D: CVSyncProps(#[x, y]), ezSlider: CVSyncValue, ...
-
... erBox: CVSyncValue, slider: CVSync, rangeSlider: [CVSyncProperties, #[lo, hi]], slider2D: [CVSyncProperties, #[x, y] ], multiSliderView: CVSyncMulti, popUpMenu: SVSync, listView: SVSync, tabletSlider2D: [CVSyncProperties, #[x, y] ], ezSlide ...
-
... Element(\y, (spec: [-100, 100], type: \joyY, ioType: \in)); y.addAction(~post); Slider2D(nil, Rect(0,0,200,200)).action_({ |sl2d| x.valueAction_(sl2d.x); y.valueAction_(sl2d.y); }).front; z = MKtlElement(\polar, (spec: [-pi, pi], type: \xyP ...
-
... } } 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( ...