-
... { |parent, bounds| // UserView can focus; CompositeView can't bounds = bounds.asRect; innerBounds = bounds.insetBy(1, 1).moveTo(1, 1); background = Color.white; this.view = UserView(parent, bounds).background_(Color.black).canFocus_(true) . ...
-
... c = ControlSpec(0, 18000, \linear, 1); w = GUI.window.new("SATIE spatializers", Rect( 200, 100, 10 + 550, 5 + 120*~numAudioInSynth), scroll: true); w.view.decorator = FlowLayout( w.view.bounds); w.view.background = Color.grey; ~satie.groupI ...
-
... } createWindow {arg parent, boundsarg; window = parent ? Window("Spectrogram", Rect(200, 450, 600, 300)); bounds = boundsarg ? window.view.bounds; this.setWindowImage; if(parent.isNil, { // view is not in a user-defined window another draw ...
-
... = Pcauchy(0.0, 1.0, inf); c = a.asStream.nextN(500); w = Window.new("Pcauchy", 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 ...
-
... ndividual tabs, setting their individual instance variables. NOTE: You never dierectly create TabbedViewTab instances, but rather use TabbedView2.add to add tabs. Many instance variables for TabbedView, are now (arrays of) default values fo ...
-
... ontrol bar at the bottom // -------- GUI win = GUI.window.new("- scalesynth -", Rect(point.x, point.y, screenX, screenY), border: false); win.fullScreen; boxColList = List.new; 17.do({arg j; var a; var tempR, tempG, tempB; a = 3 - (j%3); te ...
-
... Bounds white comp should be in the middle of blue comp"); c = SCCompositeView(w,Rect(30,30,300,300)); c.relativeOrigin = true; c.background = Color.blue; t = GUI.compositeView.new(c,Rect(100,100,100,100)); t.relativeOrigin = false; t.backgr ...
-
XixiPrey { var <>point, <>pitch, rect, stageRect; var fillcolor, strokecolor; var rot, predatorArray, preyArray; var xDistance, yDistance, destpoint, move, friction; var posNegX, posNegY; var xAway, yAway; var ateFunc; // what happens when ...
-
... .2); var boxSpace = 20; // create Window and Views window = Window("Chordtris", Rect(200, 100, matrixWidth + sidePanelWidth, matrixHeight)).front; window.background_(bgcolor); bounds = window.bounds; compositeView = CompositeView(window, Re ...
-
XiiMic { var <>point, <>pitch, rect, stageRect; var fillcolor, strokecolor; var rot, predatorArray, preyArray; var xDistance, yDistance, destpoint, move, friction; var posNegX, posNegY; var xAway, yAway; var outbus, inbus, selected; // temp ...