-
... e, 11 ); if( bounds.isKindOf( View ) ) { window = bounds; } { bounds = bounds ? Rect(230 + 20.rand2, 230 + 20.rand2, 680, 300); window = Window(title, bounds).front; }; window.onClose_(onClose); window.toFrontAction_({ this.class.changed(\a ...
-
... v[0], v[1])*size; }; } draw {|dotSize= 5| renderedPoints.do{|p, i| Pen.fillOval(Rect.aboutPoint(p, dotSize, dotSize)); }; } }
-
... ider.defaultHeight; if(parent.isNil, { win= Window( redEffectModule.class.name, Rect(position.x, position.y, width, height), false ); parent= win; win.front; CmdPeriod.doOnce({this.close}); }); ^View(parent, Point(width, height)) .backgroun ...
-
... nHiColor, optionLoColor, decoratorGapX, decoratorGapY, fieldHeight, fieldWidth, rectOut, rectIn, basicNewRect, smallRectOut, modeRectOut, modeRectIn, smallRectIn, modeRectOutTop, modeRectOutBottom, modeNameRect, modeRectScale, smallRectScal ...
-
... akeWin { var style = Butz.style; var win = Window(style.name, style.winExtent.asRect); var numB = max(Butz.numButz, Butz.actions.size); var winLocX = style.winLoc.x; var winLocY = Window.screenBounds.height - style.winLoc.y; w = win; w.alwa ...
-
... ow; bounds ?? {bounds = Window.win4TopLeft}; window = Window.new(name, bounds.asRect).front; ^this.new(window, Rect(0,0,bounds.width, bounds.height), font, qpalette); } fork { { inf.do{ if(megaString.size != 0, { megaString.do{|item, index| ...
-
... lay(s, b); KrBusWatcher .register(b); f = FlowView .new; x = GUI .slider.new(f, Rect (0, 0, 100, 15)); u = Updater (b, { |bus, val| { x.value_(val[0]); }.defer; }); ) ( KrBusWatcher .unregister(b); u.remove; a.free; b.free; a = b = f = x = ...
-
... lay(s, b); KrBusWatcher .register(b); f = FlowView .new; x = GUI .slider.new(f, Rect (0, 0, 100, 15)); u = Updater (b, { |bus, val| { x.value_(val[0]); }.defer; }); ) ( KrBusWatcher .unregister(b); u.remove; a.free; b.free; a = b = f = x = ...
-
... ] = UserView( composite, 28@14 ) .resize_(3) .drawFunc_({ |vw| var wd = 8, smallRect; if( chain.displayColor.notNil ) { Pen.roundedRect(vw.drawBounds, wd); chain.displayColor.penFill(vw.drawBounds, 1, nil, 10); smallRect = Rect( vw.bounds.w ...
-
... ach collaborator \ undone = ();\ all = ();\ w = GUI .window.new( "draw on us" , Rect (128, 64, format[0], format[1]));\ w.view.background= colors[1];\ \ participation = Participation (collective).start;\ \ participation.addResponder( '/trac ...