-
... UIElements { var scrollCanvas; window = SCLOrkWindow.new("SCLOrkClock Monitor", Rect.new(0, 0, 400, 500) ); window.alwaysOnTop = true; window.layout = VLayout.new( clockScrollView = ScrollView.new ); scrollCanvas = View(); scrollCanvas.layo ...
-
... ette.dark; // main window (for now) mWin = Window.new("Synther1", Rect( left:20, top:20, width: 300, height: 400 ),border: true); mWin.background = Color.blue(0.3,1); mWin.layout = HLayout( VLayout( ...
-
... 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.) . ...
-
... * zoom, y / n + offset * zoom) } ! n } ! n; w = Window ( "Julia set" , bounds: Rect (200, 200, xs, ys)).front; w.view.background_( Color .black); w.drawHook = { n.do { |x| n.do { |y| var z = field[x][y]; z = f.(z); field[x][y] = z; Pen .co ...
-
... 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 ...
-
... 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 ...
-
... ze_( 4 ) .applySkin( RoundView.skin ); } { labelWidth = 0; }; StaticText( view, Rect( labelWidth + 2, 0, 10, bounds.height ) ) .applySkin( RoundView.skin ? () ) .string_( "~" ) .align_( \right ); strWidth = bounds.width-(labelWidth+2+12+62) ...
-
... uteBounds); } place { arg view; var bounds; bounds = view.bounds; view.bounds = Rect( bounds.left - absoluteBounds.left, bounds.top - absoluteBounds.top, bounds.width, bounds.height); } absoluteBounds_ { |absBounds| absoluteBounds = absBoun ...
-
... 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 ...
-
... ==name}; if(win.isNil, { pos= Window.screenBounds.extent*0.6; win= Window(name, Rect.aboutPoint(pos, 250, 100)); win.view.layout_(VLayout( StaticText().string_("Copy - overwrite all snapshots in a bank with snapshots from another"), HLayout ...