-
SCRangeSlider a double-ended gui slider Inherits from: Object : SCView : SCControlView : SCSliderBase A slider for setting two values (usually low and high values). Dragging in the slider sets the lo and high ranges according to mouse down ...
-
... its bounds. If this is set to true resize settings will be ignored for enclosed views. See SCScrollTopView . The default is false. Examples ///// simple example w = SCWindow .new( "Parent" ).front; // make a window ( // now attach a sheet x ...
-
... ! n } ! n; w = Window ( "Julia set" , bounds: Rect (200, 200, xs, ys)).front; w.view.background_( Color .black); w.drawHook = { n.do { |x| n.do { |y| var z = field[x][y]; z = f.(z); field[x][y] = z; Pen .color = Color .gray(z.rho.linlin(-10 ...
-
... helpfile. GUI implementation GUI's are made cross platform compatible by using ViewRedirects, or the GUI classes. So instead of using SCWindow, you use Window or GUI.window.new. It may be tempting to create custom GUI objects by subclassin ...
-
... ({ ~ampSynth.free; ~ampUpdater.remove; ~oscTrigResp.remove; player.stop; }); ~w.view.decorator = FlowLayout (~w.view.bounds, 2@2, 2@2); ~ampView = EZSlider (~w, 295@20, "amplitude" , \amp , labelWidth: 80, numberWidth: 60); ~ampView.sliderV ...
-
... Box a box for displaying and editing numerical values Inherits from: Object : SCView : SCStaticTextBase See also: SCTextField Some Important Issues Regarding SCNumberBox Whatever is entered into the number box is converted to a Float upon h ...
-
... astVol: ( w = Window ( "softSet, softVol" , Rect (500, 200, 400, 240)).front; w.view.addFlowLayout; NdefGui ( Ndef ( \test ), 2, w); // can lose control if wiggled too fast EZSlider (w, 340@30, \softSet , \freq , { |sl| Ndef ( \test ).softS ...
-
... astVol: ( w = Window ( "softSet, softVol" , Rect (500, 200, 400, 240)).front; w.view.addFlowLayout; PdefGui ( Pdef ( \test ), 2, w, 340@80); // can lose control if wiggled too fast EZSlider (w, 340@30, \softSetDur , [0.03, 3, \exp] , { |sl| ...
-
... press 'Enter': w = Window .new( "Fading" ).front; r = Routine ({ 200.do({ |i| w.view.background = Color .blue(val: 1, alpha: 1 - (i * 0.005)); 0.005.wait; }); w.close; }); AppClock .play(r); Some examples do require lines to be executed one ...
-
... ramming since it allows the object's behaviour to be abstract from the point of view of the user of the object (the client). The set of messages to which an object responds to is known as its interface . A set of messages that implement a s ...