-
... 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 ...
-
... iew , SCScope , ScopeView , SoundFileView , TextViewBase , TopView , TreeView , UserView , VLayoutView , WebView … see all Needs update. Description The View class is the superclass of all view classes. The view is the basic visible element ...
-
... 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 ...
-
... 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 ...