-
... }, gui: { arg layout; var l; l = layout ?? {PageLayout(~source.instr.asString, Rect(0, 0, 500, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) } ));
-
... rc); }); Pen .fillColor = Color .blue; Pen .strokeColor = Color .green; Pen .addRect( Rect (x-r+rrand(-50.0, 50.0), y-r+rrand(-50.0, 50.0), 2*r, 2*r)); Pen .stroke; }; bkgrnd = { arg perc, dict; image.drawInRect( Rect (0, 0, 500, 500), imag ...
-
... v[0], v[1])*size; }; } draw {|dotSize= 5| renderedPoints.do{|p, i| Pen.fillOval(Rect.aboutPoint(p, vectors[i][2]+1*dotSize, vectors[i][2]+1*dotSize)); }; } drawOutlines { outlines.do{|o| Pen.line(renderedPoints[o[0]], renderedPoints[o[1]]); ...
-
... Name(name, sliderPriority, playerPriority); window = GUI.window.new(windowName, Rect(rrand(xPosMin, xPosMax), rrand(yPosMin, yPosMax), totalWidth, 80), resizable: false).front; window.onClose_({ #window, playerSection, colors, varCtrColorPa ...
-
... EZPopUpMenu(p, 200@50, "*", q.allSoundNames, {|mo| mo.postln}, i), PopUpMenu(p, Rect(0, 0, 180, 50)), Slider() .orientation_(\horizontal) .maxHeight_(150) ] } ! 4; q.sliders = sliders; try{ g.mainstage.close}; w = Window("NTMI.1", Rect.abou ...
-
... .main.mainVolZone.isClosed }) { // make a test window var w = Window("mainVol", Rect(0, 0, 394.0, 79.0)).front; g.main.mainVolZone = w.view; }; g.main.mainSl = MView( 0.5, NTMI.g.main.mainVolZone, NTMI.g.main.mainVolZone.bounds.extent.asRec ...
-
... ctrl3; if( parent.isNil ) { parent = this.class.asString; bounds = bounds ?? { Rect( 190 rrand: 220, 70 rrand: 100, (420 + (editWidth + 4)), 516 ) }; } { bounds = parent.asView.bounds; }; RoundView.pushSkin( UChainGUI.skin ); view = EZComp ...
-
... ouchPad.gui; w = MultiTouchPad.guiWin; u = w.view.children.first; StaticText(w, Rect( 0, 0, 400, 100)) .stringColor_(Color.grey(0, 0.5)) .string_( "// shortcut keys for MultiTouchPad.guiWin: // m to maximise window // x to set window t0 nor ...
-
... ouchPad.gui; w = MultiTouchPad.guiWin; u = w.view.children.first; StaticText(w, Rect( 0, 0, 400, 100)) .stringColor_(Color.grey(0, 0.5)) .string_( "// shortcut keys for MultiTouchPad.guiWin: // m to maximise window // x to set window t0 nor ...
-
... skin ); } { labelWidth = 0; }; vws[ \buttonView ] = SmoothButton( vws[ \view ], Rect( labelWidth + 2, 0, 60, bounds.height ) ) .label_( [ "new", "edit" ] ) .hiliteColor_( nil ) .action_({ |bt| var bounds; if( vws[ \val ].isNil ) { vws[ \val ...