-
// wslib 2006 // // additions to DrawIcon + Symbol { drawIcon { |rect ... args| // args override symbolArgs if( args.size == 0 ) { ^DrawIcon.symbolArgs( this, rect.asRect ) } { ^DrawIcon( this.asString.split( $_ )[0].asSymbol, rect.asRect, ...
-
... = filep; this.estimateLine; } init{ |parent| w = Window.new( "MultiFilePlayer", Rect( 0, 0, 200, 92 )); w.view.decorator = FlowLayout.new( Rect(0,0,200,92), 2@2, 2@2); // fn = TextField.new(w, Rect( 0, 0, 148, 20 )); // open = Button.new(w, ...
-
... with GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ + Rect { asControlInput { ^this.asArray } positiveExtent { if( width.isNegative ) { left = left + width; width = width.neg; }; if( height.isNegative ) { top = top ...
-
... with GameOfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ + Rect { asControlInput { ^this.asArray } positiveExtent { if( width.isNegative ) { left = left + width; width = width.neg; }; if( height.isNegative ) { top = top ...
-
... nphluxInOut", { var bnds = Window.availableBounds; var size = bnds.width * 0.1; Rect.aboutPoint( (bnds.width * 0.5) @ (bnds.height - size), size, size) }.value; ).front; q.inph.ioWin.background_(Color.grey(0.5)); q.inph.ioWin.alpha_(0.9); q ...
-
... dth + objectSectionWidth + attributeSectionWidth; window = Window("DIMPLE GUI", Rect(100, 500, totalWidth, height)).front; window.addFlowLayout; hLayout = HLayoutView(window, Rect(0,0,totalWidth,height)); controlSection = VLayoutView(hLayou ...
-
... rg/licenses/>. */ UChainEventView : UEventView { var <fadeAreaHeight; ifIsInsideRect{ |mousePos, yesAction, noAction| if(rect.containsPoint(mousePos)) { yesAction.value; } { noAction.value; } } ifIsInResizeFrontArea{ |mousePos, fadeInAreaBi ...
-
... , columns, rows); } initBoxGrid { arg w, argbounds, argcolumns, argrows; var p, rect, pen; lazyRefreshFunc = { this.refresh; refreshDeferred = false; }; bounds = argbounds ? Rect(20, 20, 400, 200); bounds = Rect(bounds.left , bounds.top , b ...
-
... artAngle, arcAngle, size, widthDiv2, aw; var knobPosition, n, realKnobSize; var rect, drawBounds, radius; var baseRect, knobWidth; var center, strOri; var bnds; // used with string Pen.use { rect = this.drawBounds; drawBounds = rect.insetBy ...
-
... parent, bounds) }); } *arrayNew { |parent ... argsArray| ^this.multiNew(parent, Rect.multiNew(*argsArray) ); } *series { |parent, bounds, size = 4, step| bounds = bounds ? Rect(10,10,80,20); step = step ? (0@30); case { step.class == Point} ...