-
... nY)) }, { tablet = UserView(win,Rect(0, 0, screenX, tabletScreenY)) } ); tablet.background = Color.white; tablet.canFocus = false; if ( GUI.id == \cocoa, { tablet.mouseDownAction = { arg view, x, y, pressure, tiltx, tilty, deviceID, buttonN ...
-
... er Bands"; var as= "Power - (uV)^2 / Hz"; win.view.minSize= Size(436, 145); win.background= Color.white; win.drawFunc= { var wb= win.bounds; var ub= usr.bounds; var step; Pen.smoothing= false; Pen.color= Color.black; Pen.stringAtPoint("Band ...
-
... ize_(7) .strokeColor_(Color.new(1,0,0)) .editable_(false) .alpha_(0.4) .background_(Color.new(1,1,1,0.1)) .curves_(-3) .minWidth_(170) .mouseOverAction_({helpView.string = "envelope view of oscillator a´s amplitude is a visual ...
-
... ueID, argExtraArgs, bounds, numIns, numOuts, argCanvasXY).init; } init { window.background_(Color.gray(0.7)); lastLevel = 0; helpString = "Inputs are not used. Outputs 1/2 are hardware inputs of your interface(L/R)."; StaticText(window, Rec ...
-
... draggable points pts = this.getPoints( bounds ); ////// DRAWING /////// // draw background Pen.color_( Color.white.alpha_(0.25) ); Pen.roundedRect( bounds, 2 ).fill; // make cliprect Pen.roundedRect( bounds.insetBy(0,0), 2 ).clip; // draw g ...
-
... ews inside it : ( var gC = GMGridContainer(); 12.do({ gC.insertView( UserView().background_(Color.rand) ); }); gC.front; ) ⧉ ✔ insertView takes the view as mandatory argument, then an optionnal index argument. If none is provided, the view ...
-
... tooltipWindow, Rect(5, 2, (text.size) * 10, 16)) .string_(text) .align_(\left) .background_(Color.grey(0.9)) .font_(Font("Helvetica", 12)); SGME_GUIShortcuts.makeShortcuts(SynthiGME.instance.guiSC.panels[0], tooltipWindow, SynthiGME.instanc ...
-
... r(numPlayers); var playFunc; var setupOscResponders, oscResponders; //--gui var backgroundImage; var folder, files; var win= Window("sFiles", winRect); win.layout= VLayout(); win.layout.add( folder= DragSink().object_("drop folder or files ...
-
... See SCView . returns: [ \bounds , \visible , \enabled , \canFocus , \resize , \background , \minWidth , \maxWidth , \minHeight , \maxHeight , \value , \font , \items , \stringColor ] Examples See the help files for subclasses such as SCSta ...
-
... e of Color . The drawing color of the scope. bgColor An instance of Color . The background color of the scope. server the server whose buses to show on scope. Discussion: Example: s.boot; // create a new analyzer FreqScope.new(400, 200, 0, ...