-
... node ) ); }); objects = svgObjects; domDocument = document; domRoot = root; } asRect { var xPoints, yPoints, xMin, xMax, yMin, yMax; var rectPoints; rectPoints = objects .collect({ |object| var rect; rect = object.asRect; [ rect.leftTop, re ...
-
... = 60; var scale = 10; var waitDur = 0.3; var win = Window.new("game of lyf", Rect(0, 0, xSize*scale, ySize*scale)); var uview; var arr, buf, initFunc, iterFunc, startIter, finalize, task, iter; var xPos, yPos; initFunc = { arr ...
-
... w.bounds; }; } bounds_ { |newBounds| if( expanded ) { view.bounds = newBounds.asRect.insetBy(focusRingSize.neg,focusRingSize.neg); } { view.bounds = newBounds; } ; } expanded_ { |bool| var bnds; bnds = this.bounds; expanded = bool ? expande ...
-
... 300, height= 300, w, wgrav, world, n= 80; //--world w= RedWindow("vector test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.2); //dim,grav ...
-
... 300, height= 300, w, wgrav, world, n= 80; //--world w= RedWindow("vector test", Rect(128, 64, width, height)).front; wgrav= RedVector2D[-0.1, 0.98]; //world xy gravity world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.2); //dim,grav ...
-
... colors = Color .black!3;\ \ window = SCWindow .new( "Virtual Ambient Lights" , Rect (400, 100, colors.size*(i_width+pad) + (2*pad), i_width+50)).front;\ window.view.background_( Color .black);\ \ views = Array.fill(3, \|i|\ SCTabletView(wi ...
-
... sin bordes ni botones, y no redimensionable var window = Window("Cargando...", Rect(windowX, windowY, windowWidth, windowHeight), border: false, resizable: false) .front .alwaysOnTop_(true); // Ajustar las propiedades del TopView para quit ...
-
... alpha_(0.3); colFore2= colFore.complementary.alpha_(0.7); win= Window("RedMst", Rect(300, Window.screenBounds.height-50, size*9.5+20, size*6+25), false) .front; if(Main.versionAtMost(3, 4) and:{GUI.scheme!=\cocoa}, { win.alpha_(skin.unfocus ...
-
... ) .align_( \right ) .applySkin( RoundView.skin ); vw.inPu = UPopUpMenu( parent, Rect( labelSpace, 0, bounds.width - labelSpace, 14 ) ); StaticText( parent, Rect( 0, 18, labelWidth, 14 ) ) .string_( "% out ".format( label ) ) .align_( \right ...
-
... heightCartPlane, rad, theta, func, cnt= 0, scale= 2; w= RedWindow("func plot", Rect(128, 64, width*scale, height*scale)).front; widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%(width*scale); dx= widthCartPlane/(widt ...