-
... 90, 200); Pen.scale(-1, -1); Pen.push; // draw joint 1 is in center Pen.addOval(Rect.aboutPoint(0@0, 5,5)); // segment 2 is fixed: Pen.addRoundedRect(Rect(-80, -10, 60 - 5, 20), 5, 5); Pen.color = colorBody; Pen.fill; Pen.addRoundedRect(Rec ...
-
... nt(1,8) ]; if ( GUI.id == \cocoa, { win = SCModalWindow.new("ixiQuarks alert!", Rect(128, 500, 400,170)) }, { win = Window.new("ixiQuarks alert!", Rect(128, 500, 400,170), resizable:false).front } ); win.drawHook = { // set the Color GUI.pe ...
-
... ws[ \val ] ); }) //.step_( localStep.x ) .scroll_step_( localStep.x ) .clipLo_( rect.left ) .clipHi_( rect.right ) .value_(0); vws[ \y ] = SmoothNumberBox( vws[ \comp2 ], 40 @ (bounds.height) ) .action_({ |nb| vws[ \val ] = vws[ \val ] .x @ ...
-
... / use NTMI.g.bounds to test for different screen sizes, // e.g. NTMI.g.bounds = Rect(0,0,1024, 768); g.bounds = g.bounds ? Window.availableBounds; NTMI.g.screenScale = { min(g.bounds.width / 1920, Window.availableBounds.height / 1177 ) }; / ...
-
... emove,<>onChangeParent,<>onAfterChangeParent, <>userDrawFunction,downtmp,<>closeRect,<>detRect,<lock=false,clicks=0,deletelock=true; *new { arg tabbedView,label="label",index,scroll=false; ^super.new.init(tabbedView,label.asString,index,scr ...
-
... emove,<>onChangeParent,<>onAfterChangeParent, <>userDrawFunction,downtmp,<>closeRect,<>detRect,<lock=false,clicks=0,deletelock=true; *new { arg tabbedView,label="label",index,scroll=false; ^super.new.init(tabbedView,label,index,scroll); } i ...
-
... per.new.initParaSpace(w, bounds); } initParaSpace { arg w, argbounds; var a, b, rect, relX, relY, pen; bounds = argbounds ? Rect(20, 20, 400, 200); bounds = Rect(bounds.left + 0.5, bounds.top + 0.5, bounds.width, bounds.height); if((win= w) ...
-
... ); } init { |parent, inLaras| w = parent ?? {�Window("single scale-key tuning", Rect(100, 100, 1200, 300)).front; }; laras = inLaras ? VGScaleGraph.scale; compSCTWidth = 1200; /////////////////////SCALE TUNING/////////////////////////////// ...
-
... try { label = w.name } // }; // // if(isLocal) { // booter = gui.button.new(w, Rect(0,0, 44, 18)); // booter.canFocus = false; // booter.font = font; // booter.states = [["Boot", Color.black, Color.clear], // ["Quit", Color.black, Color.gr ...
-
+ StoredList { *boundsAround { |loc, winSize, flip = true| var rect; loc = loc ?? { Window.screenBounds.center }; rect = Rect.aboutPoint(loc, winSize.x * 0.5, winSize.y * 0.5); if (flip) { rect = Window.flipY(rect) }; ^rect } storeDialog { ...