-
... Point(0,0)); }, '/viz'); w = Window(bounds: Rect(0, 0, 1920, 780)); v = UserView(w, w.view.bounds); v.background_(Color.white); v.animate_(true); v.drawFunc_({ var startPoint = Point(~allPoints[0].x,~allPoints[0].y); Pen ...
-
... es_( [[\INFO, Color.black, Color.grey(0.7)]]) .action_({ this.postInfo; }); u = UserView(w, w.bounds.moveTo(0,0).insetBy(4, 4).height_(64)); u.background_(Color.white); u.resize_(5); u.drawFunc = { var ubounds = u.bounds; var point, size; v ...
-
... gui = object.sessionGUI(comp); sessionView.decorator.nextLine; gui }; addLast = UserView( sessionView, (sessionView.bounds.width - (margin*2))@14 ) .resize_(2) .canFocus_(false) .canReceiveDragHandler_({ |sink| var drg; drg = View.currentDr ...
-
... w.view.focus(false); scoreView.remove; }; this.calcNumTracks; scoreView = ScaledUserViewContainer(mainComposite, scoreBounds, Rect( 0, 0, score.displayDuration, numTracks ), 5); //CONFIGURE scoreView scoreView.background = Color.gray(1.0,0. ...
-
... s.pr_drawArrow(rr)}); }; }; showArrow.booleanValue.and(btnClass=="Button" ).if{ UserView(button,rr).drawFunc_({this.pr_drawArrow(r)}); }; button.action={menu.front} } toolTip_{arg str; button.toolTip_(str); button.refresh; } pr_drawArrow{|r ...
-
... reset volume {redMixerChannel.vol= 0}.defer(0.1); }); }, //--unity gain marking UserView().fixedWidth_(12).drawFunc_({|usr| var y= 1-volSpec.unmap(0)*usr.bounds.height; var fnt= RedFont.new; var col= GUI.skins.redFrik.foreground; Pen.string ...
-
... : QPenPrinter Description A class which allows you to draw custom graphics on a UserView or Window. The following methods must be called within a Window: -drawFunc or a UserView: -drawFunc function, and will only be visible once the window ...
-
... , move to top left bounds = bounds.moveTo(0,0); inparent; }; } makeViews { uv = UserView(parent, bounds); uv.background = dict[\backCol]; uv.focusGainedAction = { uv.background_(dict[\focusCol]); }; uv.focusLostAction = { uv.background_(dic ...
-
... , move to top left bounds = bounds.moveTo(0,0); inparent; }; } makeViews { uv = UserView(parent, bounds); uv.background = dict[\backCol]; uv.focusGainedAction = { uv.background_(dict[\focusCol]); }; uv.focusLostAction = { uv.background_(dic ...
-
... sWorld; // drawFunc } draw { // return a function to be evaluated inside window.userView.drawFunc ^{ ///////////////////////////////////////////////////////////////// // draw static elements Pen.strokeColor=Color.blue; Pen.alpha=1; // draw ...