-
... 1 here. - Instance of UserView, where the tracker will be drawn - Instance of Rect, coordinates where the tracker will be drawn - Integer value defining the margin between tracker's buttons. - Color value of the button when toggled. Unt ...
-
... smoothing ( //--settings var serialPortName= "usbmodem192235"; //greybox var winRect= Rect(0, 80, 320, 240); //x, y, w, h var palette= SGUI.palette; var fnt= Font.monospace(10); var fps= 15; //maximum gui updaterate - does not affect sensor ...
-
... { var xsize, ysize; // ysize = 80; w = w ?? { w = GUI.window.new("SWDataSlot", Rect(xposScreen, yposScreen, xsize, ysize )).front; w.view.decorator = FlowLayout(Rect(0, 0, xsize, ysize), 2@2, 2@2); decorator = w.view.decorator; w; }; if ( ...
-
... lls the HLayoutView automatically: ( q = 10; w = Window.new; h = HLayoutView(w, Rect(0, 0, 300, 300)); Array.fill(q, { |i| Slider(h, Rect(0, 0, 20, 75)).value_(i / q) }); h.background_(Color.rand); w.front ) ⧉ ✔ Stretching the layout view; ...
-
... ( object ).makeView( parent, bounds ); } *initClass { icons = ( \select: { |bt, rect| // \select //var scaleAmt; Pen.width = 1; Pen.lineDash_( FloatArray[ 1,1 ] ); Pen.addRect( rect.insetBy( rect.width * 0.25, rect.height * 0.25 ) ); Pen.st ...
-
PInRect UGenPatterns quark library superclass: FilterPattern based on InRect PInRect(pattern, y, rect) pattern pattern x-position (default: 0) y pattern y-position (default: 0) rect // example s.boot; a= Pbind ( \dur , 1/3, \legato , 0.4, \ ...
-
... smoothing ( //--settings var serialPortName= "usbmodem206264"; //greybox var winRect= Rect(0, 450, 320, 240); //x, y, w, h var palette= SGUI.palette; var fnt= Font.monospace(10); var fps= 15; //maximum gui updaterate - does not affect senso ...
-
... R" ; ) t.font= Font ( "Monaco" , 24); ( var updateFont; w= SCWindow ( "Fonts" , Rect (150, SCWindow .screenBounds.height-500, 400,400)).front; w.view.decorator = FlowLayout ( w.view.bounds); SCStaticText .new(w, Rect (5,0,30,20)).string_( " ...
-
... ndow { var color, availableBounds, windowWidth, windowHeight, windowX, windowY, rect, compositeView, imagesPath, image; color = Color.blue; // Obtener las dimensiones disponibles de la pantalla availableBounds = Window.availableBounds; // D ...
-
... ew.initToggle(w, bounds); } initToggle { arg w, argbounds; bounds = argbounds ? Rect(20, 20, 400, 200); bounds = Rect(bounds.left + 0.5, bounds.top + 0.5, bounds.width, bounds.height); win = w ? GUI.window.new("Bang", Rect(10, 250, bounds.l ...