-
... n.view.decorator = FlowLayout( win.view.bounds, 10@10, 4@10 ); eq[ \uvw ] = GUI.userView.new( win, win.view.bounds.insetBy(10,10).height_(180) ).resize_(5); eq[ \font ] = GUI.font.new( GUI.font.defaultMonoFace, 9 ); // eq[ \uvw ].relativeOr ...
-
... dow.view.decorator = FlowLayout( window.view.bounds, 10@10, 4@0 ); eq[ \uvw ] = UserView( window, window.view.bounds.insetBy(10,10) .height_(window.view.bounds.height - 80) ).resize_(5); eq[ \font ] = Font( Font.defaultSansFace, 10 ); // eq ...
-
... Pen.stroke; Pen.pop; }; win.front; CmdPeriod.doOnce({win.close}); //--plot usr= UserView(win, Rect(*#[0.14, 0.19, 0.8, 0.64]*win.bounds.extent.asArray)); usr.background= Color.new255(245, 245, 245, 220); usr.clearOnRefresh= true; usr.drawFu ...
-
... iew.new(win, Rect(120, 5, bounds.width-120, bounds.height-10))}, { tabletView = UserView.new(win, Rect(120, 5, bounds.width-120, bounds.height-10)) } ); //tabletView = GUI.tabletView.new(win, Rect(120, 5, bounds.width-120, bounds.height-10) ...
-
... .updateLoc; try { selected.updateLabel }; }; }; // Instantiate objects canvas = UserView(win, Rect(120, 2, 650, 482)) .canFocus_(false) .drawFunc_({ arg view; // smoothing off ONLY if button is activated if ( lowGraphicsMode == 1, { Pen.smo ...
-
... osite, 30@14, chain, undoManager ).view.resize_(3); }; views[ \displayColor ] = UserView( composite, 28@14 ) .resize_(3) .drawFunc_({ |vw| var wd = 8, smallRect; if( (score ? chain).displayColor.notNil ) { Pen.roundedRect(vw.drawBounds, wd) ...
-
... r.shift(x: basicNewRect.width + decoratorGapX); iconViewGroup = Array.fill(3, { UserView(playerView, rectOut).background_(liteGreyBackgroundColor) }); playerView.decorator.shift(x: columnGroupGap); modeNameView = StaticText(playerView, mode ...
-
... anager ).view .toolTip_( "undo/redo" ) .resize_(3); }; views[ \displayColor ] = UserView( composite, 84@14 ) .resize_(3) .toolTip_( "set displayColor" ) .drawFunc_({ |vw| var wd = 8, smallRect; if( (score ? chain).displayColor.notNil ) { Pe ...
-
... ight / 8) - 4; viewWidth = bounds.width - (labelWidth + 6); vws[ \colorView ] = UserView( view, viewWidth @ viewHeight ) .drawFunc_({ |vw| var rect; rect = vw.drawBounds; Pen.color = Color.black; Pen.line( (rect.right * 2/5) @ (rect.top), r ...
-
... ED: save returned nil".postln; }; }.value; }; }, "play-ats4.ats"); }); canvas = UserView(win, Rect(20, 80, 1040, 485)); canvas.background = Color.black; canvas.canFocus = true; // Backspace / Delete entfernt den aktuell selektierten Partial ...