-
... tring; border = argBorder; resizable = argResizable; argBounds = argBounds ?? { Rect.new( 128, 64, 300, 300 )}; server = argServer ?? { SwingOSC.default; }; allWindows = allWindows.add( this ); id = server.nextNodeID; dataptr = this.id; thi ...
-
... tring; border = argBorder; resizable = argResizable; argBounds = argBounds ?? { Rect.new( 128, 64, 300, 300 )}; server = argServer ?? { SwingOSC.default; }; allWindows = allWindows.add( this ); id = server.nextNodeID; dataptr = this.id; thi ...
-
... makeGui{ |title| var w,min,max,decorator; w = w ?? { w = GUI.window.new(title, Rect( 0,0,300,25 )).front; w.view.decorator = FlowLayout(Rect(0, 0, 300, 25), 2@2, 2@2); decorator = w.view.decorator; w; }; StaticText.new( w, 150@20 ).string_ ...
-
... makeGui{ |title| var w,min,max,decorator; w = w ?? { w = GUI.window.new(title, Rect( 0,0,300,25 )).front; w.view.decorator = FlowLayout(Rect(0, 0, 300, 25), 2@2, 2@2); decorator = w.view.decorator; w; }; StaticText.new( w, 150@20 ).string_ ...
-
... this.prUpdateFont; this.mouseUpAction_({ |view, x, y| if(x >= (super.interactionRect.right - buttonSize)) { if(x <= super.interactionRect.right) { if(y >= super.interactionRect.top) { if(y <= (super.interactionRect.top + buttonSize)) { this ...
-
... height]}; this.prDraw(0); } makeWindow {|bounds, background| var b= bounds ?? {Rect(100, 200, 400, 400)}; var win= Window(this.class.name, b, false); var usr= UserView(win, Rect(0, 0, b.width, b.height)); usr.background= background ?? {Col ...
-
... Pen.fillColor_(super.beatColor); if(super.orientation == \horizontal) { Pen.fillRect( Rect( super.interactionRect.left + (thisBeat * (super.interactionRect.width / super.values.size)), super.interactionRect.top, super.interactionRect.width ...
-
... = NodeWatcher.newFrom(server); if(layout.isNil,{ w = Window("Server Node Tree",Rect(0,0,1220,820),scroll:true); f = CompositeView(w,Rect(0,0,1210,10000)); w.front; },{ f = CompositeView(layout,bounds ?? {layout.bounds}) }); renderBox = { a ...
-
... (out, Pan2.ar(z*e, pan)); }).add; s.sync; //--world w= RedWindow("bounce test", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.1); //dim,gr ...
-
... for SC3.2 compatibility // 2009: altered for SwingOsc compatibility // TODO: correct half pixel problem for mouse feedback ScaledUserView { classvar <>defaultGridColor; var <gridColor; var <view, <>fromBounds; var <scaleH = 1, <scaleV = 1, ...