-
... 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 ...
-
... , 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 ...
-
... t(100, 250, bounds.width + 40, bounds.height+30)); win.front }); mouseTracker = UserView.new(win, bounds); // thanks ron! bounds = mouseTracker.bounds; pen = Pen; startnote = argstartnote ? 48; trackKey = 0; //pix = [0, 6, 10, 16, 20, 30, 3 ...
-
... (true); cWin.view.keyDownAction_({|...args| this.handleKeys(*args); }); cView = UserView(cWin, cWin.view.bounds) .background_(Color.white) .resize_(5) .drawFunc_ ({ var tempRect; var tempDist; Pen.color_(Color.black); if(cablePointsBucket.s ...