-
... 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 ...
-
... 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 ...
-
... tance variables as described below and in the SVGObject helpfile SVGEllipse.fromRect ( rect, name, strokeColor, fillColor, strokeWidth, transform ) creates a new object by converting a Rect to cx, cy, rx, ry variables instance variables cx, ...
-
... ticles, attractor, font= Font(Font.defaultMonoFace); //--world w= RedWindow("", Rect(128, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], RedVector2D[1, 1], 100, 0.5); //dim,grav,maxvel,damp //--particles (an Array w ...
-
// this file is part of redUniverse toolkit /redFrik +Rect { *aboutRedVector2D {|redVec, size| ^this.aboutPoint(Point(redVec[0], redVec[1]), size, size) } //!!!TODO. clean up focal and scaling *aboutRedVector3D {|redVec, size, width, height ...