-
... 9].copy; }); local = false; slIndex = 0; win = GUI.window.new("- sounddrops -", Rect(point.x, point.y, 820, 343), resizable:false).front; backGRView = GUI.userView.new(win, Rect(120, 5, 680, 200)) .canFocus_(false) .drawFunc_({ |view| if(ba ...
-
... = 0; var bounds; var name = "HrPresetMorph"; if(argExtraArgs.isNil, { bounds = Rect(200, 200, 610, 455); }, { if(argExtraArgs.size == 1, { bounds = Rect(200, 200, 160 + argExtraArgs[0].asInteger, 455); }, { bounds = Rect(200, 200, 160 + ar ...
-
... s, 512); trackbuf = Buffer.alloc(s, 512); win = GUI.window.new("- mushrooms -", Rect(point.x, point.y, 820, 320), resizable: false); // just display a temp buf in the GUI so it's not empty {bufPlot = XiiBufferOnsetPlot.new(fftbuf, win, Rect ...
-
... *makeWindow { |height = 120| //var tabbedView; window = Window( "nanoKONTROL", Rect(800, 80, 120+(9*54), height+8+16), false ).front; tabbedView = TabbedView( window, window.view.bounds, (1..4).collect(_.asString ), ({ |i| Color.hsv( i.lin ...
-
... foreColor = XiiColors.darkgreen; outbus = params[4]; win = GUI.window.new(name, Rect(point.x, point.y, 222, 106), resizable:false); spec = ControlSpec(0, 1.0, \amp); // for amplitude in rec slider inmeterl = GUI.rangeSlider.new(win, Rect(10 ...
-
... svar <>useShortName = true; // first word only checkSelectionStatus { |selectionRect,shiftDown, minWidth, maxWidth| //this.createRect(minWidth, maxWidth); if(selectionRect.intersects(rect)) { selected = true } { if(shiftDown.not) { selected ...
-
... makeWindow Creates a Window and draws. Mainly for testing. Arguments: bounds a Rect that define window size and position background a Color . drawFunc . matrices . n Inherited instance methods Examples //--f is drawFunc, m is matrices, n i ...
-
... /* Public */ color { if(this.colliding, {^collisionColor },{^color}) } draw{arg rect; case {shape == 0} {Pen.strokeOval(rect)} {shape == 1} {Pen.strokeRect(rect)}; } }
-
... is returned by Pen when CocoaGUI is in use. The examples below use the ViewRedirect subclass, Pen . See also: SCWindow , SCUserView , Color , and String Drawing Methods The following methods define paths. You will need to call *stroke or * ...
-
... a = Pgauss(0.0, 100, inf); c = a.asStream.nextN(500); w = Window.new("Pgauss", Rect(10, 10, 540, 800)); // plot the values c.plot(bounds: Rect(10, 10, 520, 380), discrete: true, parent: w); // a histogram of the values c.histo(500).plot(bo ...