-
... .new(this); blackholeBus = Bus.audio(Server.default, 1); win = Window("Hadron", Rect(300, 40, 675, 70), resizable: false).userCanClose_(false); Button(win, Rect(10, 15, 85, 20)) .states_ ([ ["New Inst.", Color.black, Color(0.5, 0.7, 0.5)], ...
-
ParameterSpace{ var <>rect,<curloc; var <points; var <parameterDict; var <weightDict; var <defaultParDict; var <parKeys; var <currentPars; var <weightfactor=2; var <>updateFunc; var <>moveFunc,<>moveScale=1; var <task; var <>dt=0.1; var <>m ...
-
... // Main window // Window.closeAll; win = Window.new("NanoKontrol2 GUI", Rect(0, 600, 1024, 300), false, true); win.onClose = {s.freeAll; "NanoKontrol2 GUI window closed.".postln; "".postln}; // win.background = Color.gray(0.9); / ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new; v = VLayoutView (w, Rect (10,10,300,300) ); Array .fill( 10, { arg i; Slider ( v, Rect (0,0,75,20) ...
-
Rect rectangle Class methods: new(inLeft, inTop, inWidth, inHeight) return a new Rect with the given upper left corner and dimensions. newSides(inLeft, inTop, inRight, inBottom) return a new Rect with the given boundaries. fromPoints(inPoin ...
-
... ferences.size + 4) * preferenceHeight; window = Window("Chordtris Preferences", Rect(300, 400, width, height)).front; vLayoutView = VLayoutView(window, Rect(0,0,width,height)); window.view.background_(Color.grey(0.8)); this.displayPreferenc ...
-
... , argstartnote; var r, pix, pen; octaves = argoctaves ? 4; bounds = argbounds ? Rect(20, 10, 364, 60); if((win= w).isNil, { win = Window.new("MIDI Keyboard", Rect(100, 250, bounds.width + 40, bounds.height+30)); win.front }); mouseTracker = ...
-
... userview !? \{ userview.remove \};\ userview = \cf3 SCUserView\cf0 (window,\cf3 Rect\cf0 (0,0,w,h)).resize_(5);\ \ userview.beginDragAction = \{\ \cf3 var\cf0 classes,rects;\ \ if ( selectedViews.size > 0,\{\ #classes, rects = flop(selected ...
-
... View : QObject : Object A view that contains other views. Source: classNameRedirects.sc See also: FlowView , FlowLayout Description NOTE: In Qt GUI, every view can be a parent to other views, so CompositeView redirects to the same class as ...
-
... owView add some features to this setup. ( f = FlowView .new; GUI .slider.new(f, Rect (0,0,100,100)); GUI .slider.new(f, Rect (0,0,100,100)); // the StartRow will be fixed at this point in the children array f.startRow; GUI .slider.new(f, Re ...