-
... terMenu( MenuAction( "Refresh All Windows", { var winCorrectFunc = { |vw| if( [ UserView, QUserView ].includes( vw.class ) ) { vw.bounds = vw.bounds.insetAll(1,0,0,0); vw.bounds = vw. bounds.insetAll(-1,0,0,0); }; vw.children.do({ |ch| winC ...
-
... 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 ...
-
... -", Rect(point.x, point.y, 820, 343), resizable:false).front; backGRView = GUI.userView.new(win, Rect(120, 5, 680, 200)) .canFocus_(false) .drawFunc_({ |view| if(backgrounddraw == true, { if(selectall == true, { GUI.pen.fillColor = XiiColo ...
-
... 86; l = 5; w = Window ( "Row of trees" , Rect (300, 300, 800, 400)).front; u = UserView (w, w.view.bounds).background_( Color .black) .clearOnRefresh_( false ) .drawFunc_ ({ var dx, dy, nextP; if(c, { Pen .color = Color .white; dx = ((h * ...
-
... unds.width + 40, bounds.top + bounds.height+30)); win.front; }); mouseTracker = UserView.new(win, Rect(bounds.left, bounds.top, bounds.width, bounds.height)); bounds = mouseTracker.bounds; // thanks ron! background = Color.white; fillcolor ...
-
... this.prUpdateAllCurvePointCoordsY; me.refresh }).layout_( VLayout( 4, envGrid = UserView(parent,bounds).background_(gridBackgroundColor).drawFunc_({ |me| var pos,lineResolution = 50,vertGridDist; // draw horizontal lines (fixed) Pen.width = ...
-
... ); Pen.stroke; // draw it // end logo // }; ////////////// ////// canvas1 = GUI.userView.new(win, Rect(480, 65, 195, 225)) .canFocus_(false) .drawFunc_({ |view| Pen.color = Color(1, 0.0, 0.0, 1); Pen.width = 2; Pen.addRect( Rect(4, 59+(gapY ...
-
... calcTabWidth = tabWidth }; tabWidths=tabWidths.insert(index,50); tab = context.userView.new(view); //bounds are set later tab.enabled = true; tab.focusColor=focusFrameColor; tab.mouseDownAction_({ this.focus(i); unfocusTabs.if{tab.focus(fa ...
-
... map( vws[ \val ] ).mean ); }; }; vws[ \setMeanSlider ].value; vws[ \options ] = UserView( view, optionsWidth @ (bounds.height) ) .background_( Color.white.alpha_( 0.25 ) ) .drawFunc_({ |vw| var bounds, vals, size, def; Pen.color = hiliteCol ...
-
... ten in cross-platform compatibility in mind. [2] Due to a currently unaddressed UserView bug in the Cocoa implementation of SC, when your sequencer view gets too big horizontally, draw operation on that view (ruler etc.) fails. This limits ...