-
... splayFrame Internal Methods init drawBorder drawBackground drawFrame interactionRect stringCenteredIn Internal Methods : style getters mainColor secondColor backColor backgroundColor disabledColor borderSize secondBorderSize thirdBorderSize ...
-
... ut, Pan2.ar(z, pan)); }).add; s.sync; //--world w= RedWindow("agents test ca2", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; //world= RedWorld(RedVector2D[width, height], wgrav, 10, 0.1); //dim,grav,maxvel,damp world= R ...
-
... // example mix with (H|V)Layouts and FlowLayout w = Window("pane view", { |wh| Rect.aboutPoint(Window.availableBounds.center, wh.x/2, wh.y/2) }.(800@600)).front; p = PaneView(w.view, \horizontal, 3, [1,2,1]); Slider2D(p.panes[0], p.panes[0 ...
-
... ( var text = "Tous ces nombres paraissent bien concrets"; t = TextView(bounds: Rect(300, 400)); t.string = text; t.front; fork { loop { 2.0.rand.wait; defer { t.setFont(Font("Times", rrand(12, 48)), rand(text.size - 1), rrand(3, 17)); t.se ...
-
... ui into a Layout later. bounds Optional, if you are using Qt layouts. If not, a Rect should be provided. Inherited class methods Instance Methods . freq Get or set the frequency mapping to display. (Setting should be done from AppClock.) . ...
-
... 0, height= 500, w, world, n= 12; //--world w= RedWindow("janus bunch - clocks", Rect(0, 64, width, height)).front; world= RedWorld3(RedVector2D[width, height], nil, inf, 0); //dim,grav,maxvel,damp //--init objects n.do{|i| var x= (sin(i/n*2 ...
-
... e it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds An instance of Rect or Point . Default value is 160@22 . label The label. Default value is nil . If ni ...
-
... ane, heightCartPlane, rad, theta, func, cnt= 0; w= RedWindow("func plot image", Rect(128, 64, width, height)).front; img= Image(width, height); widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%width; dx= widthCartPlan ...
-
... .redFrik //also includes a skin RedFont.new.dump ( var w= Window("RedGUI test", Rect(100, 200, 300, 400)).front; w.view.layout= VLayout(); Red2DSlider(w); RedButton(w); RedButton(w, nil, "aaa", "bbb"); RedKnob(w); RedLevelIndicator(w).value ...
-
... new Create a new instance Arguments: bounds Bounds of the window. A default of Rect(0,0,512,805) will be used if not specified. . tabLabel This symbol provides the display name of the tab. Inherited class methods Instance Methods . window ...