-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new; c = CompositeView (w, Rect (0,0,300,300) ); a = Slider2D (c, Rect (10,10,100,100) ); b = Slider2D ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new; v = VLayoutView (w, Rect (10,10,300,300) ); Array .fill( 10, { arg i; Slider ( v, Rect (0,0,75,20) ...
-
Rect rectangle Class methods: new(inLeft, inTop, inWidth, inHeight) return a new Rect with the given upper left corner and dimensions. newSides(inLeft, inTop, inRight, inBottom) return a new Rect with the given boundaries. fromPoints(inPoin ...
-
... owView add some features to this setup. ( f = FlowView .new; GUI .slider.new(f, Rect (0,0,100,100)); GUI .slider.new(f, Rect (0,0,100,100)); // the StartRow will be fixed at this point in the children array f.startRow; GUI .slider.new(f, Re ...
-
InRect detects if a two channel signal is within a rectangular region InRect.ar(x, y, rect) InRect.kr(x, y, rect) A pair of mono input signals x and y are treated as a point (x,y) in 2-D; if they fall within the bounds of the rectangle, the ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. ( w = Window .new; v = HLayoutView (w, Rect (10,10,300,300) ); Array .fill( 10, { arg i; Slider ( v, Rect (0,0,20,75) ...
-
... size, you can add a SCCompositeView or other container view, but there is no direct setter. One should not use a decorator such as FlowLayout directly on a SCScrollView, only on a container view within it. Action Functions with Scrolling S ...
-
... Methods *new (parent, bounds) parent - The parent view. bounds - An instance of Rect , or a Point indicating width@height. Examples ( s.waitForBoot({ //only needed if you are using sound w= Window .new.front; // store various kinds of objec ...
-
... Methods *new (parent, bounds) parent - the parent view. bounds - an instance of Rect , or a Point indicating width@height. Subclassing and Internal Methods The following methods are usually not used directly or are called by a primitive. Pr ...
-
... R" ; ) t.font= Font ( "Monaco" , 24); ( var updateFont; w= SCWindow ( "Fonts" , Rect (150, SCWindow .screenBounds.height-500, 400,400)).front; w.view.decorator = FlowLayout ( w.view.bounds); SCStaticText .new(w, Rect (5,0,30,20)).string_( " ...