-
... centerY; name= name ?? {"fingerprint"+points.size+"points"}; bounds= bounds ?? {Rect(128, 64, 300, 300)}; w= bounds.width; h= bounds.height; centerX= w/2; centerY= h/2; scale= scale*centerX.min(centerY); win= Window(name, bounds, false); us ...
-
... tem, i| if(item) {MIDIIn.connect(toPort, i) } }); window = Window("MIDIClient", Rect(299, 55, 200, 48), false); window.addFlowLayout; clientPopUp = PopUpMenu(window, 192@18) .items_( sourceNames ) .font_( font ) .value_(currentDevice) .acti ...
-
... drawfunc is present. m = MView(123); m.drawFunc.disable(\all); m.parent.bounds_(Rect(100, 100, 150, 24)); // crash m.parent.bounds_(m.parent.bounds.moveTo(100, 100)); // fine, no resize m.value_([1, 2, 3] / 4); m.dict.myspec = [0,100].asSpe ...
-
... uld be a $char or a midi keynum. This will toggle the ProcMod gui {arg bounds = Rect(0, 0, 500, 70), upperLevel = 6, lowerLevel = -inf, parent, trig, showMeters = false; var slider, numbox, winw, winh, dbspec, xspace, yspace, trigstr, butto ...
-
... ), vh = pv.bounds.height; { var ac = 0; num_of_panes.do({|n| panes[n] = View(pv,Rect(ac,0,vwp[n],vh)).resize_(4); ac = ac + vwp[n]; if(n + 1 < num_of_panes, { handles[n] = {|i| var is_drag; i.mouseDownAction_({ is_drag = true }) .mouseUpAct ...
-
... eatDuration }, gui: { arg layout; var l; l = layout ?? {PageLayout(~name.value, Rect(0, 0, 500, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) }, timeGui: { arg layout, bounds, maxTime; ~fbeats = Tempo.secs2beats( ~source.timeD ...
-
... s.waitForBoot{ var width= 640, height= 360, maxAge= 150; var win= Window("ps", Rect(100, 100, width, height), false, false); var usr= UserView(win, Rect(0, 0, width, height)); var mouse, objects= List.new; SynthDef(\main, {|in= 0, out= 0| ...
-
... classvar <>progpath = "/usr/local/bin", <infoText, <>extraText; classvar <smallRect; classvar <keydownDict, <defaultDrawFunc; classvar <guiNeedsUpdate = true, <skip; *initClass { responder = OSCFunc({ |msg| this.processOSC(msg); }, "/tuio/ ...
-
... classvar <>progpath = "/usr/local/bin", <infoText, <>extraText; classvar <smallRect; classvar <keydownDict, <defaultDrawFunc; classvar <guiNeedsUpdate = true, <skip; *initClass { responder = OSCFunc({ |msg| this.processOSC(msg); }, "/tuio/ ...
-
... lh= 14; position= position ?? {Point(100, 200)}; win= Window("TempoClock.all", Rect(position.x, position.y, 214, 60), false); view= View(win, Rect(0, 0, win.bounds.width, win.bounds.height)); view.background= GUI.skins.redFrik.background; ...