-
... Kit-independant GUI Classes These classes are platform neutral in themselves. EZSlider EZNumber EZRanger EZListView EZPopUpMenu EZScroller EZKnob EZText Gradient HiliteGradient FlowLayout Color List of Redirection Classes and their Correspo ...
-
... alue , { |theChanger, what, moreArgs| view.value_(theChanger.value); }); view = Slider ( Window ( "slider" , Rect (100, 100, 330, 38)).front, Rect (5, 5, 320, 20)); view.onClose_{controller.remove}; // run a routine to change the model's va ...
-
... (default) , "doIntAction:", "doStateAction:" or "doAction:" ( var win, topview, slider; win = SCNSObject ( "NSWindow" , "initWithContentRect:styleMask:backing:defer:" , [ Rect (100,140,400,30), 10, 2, 1]); win.registerNotification( "NSWindo ...
-
EZSlider wrapper class for label, slider, number box Inherits from: Object : EZGui EZSlider is wrapper class which creates an (optional) StaticText , and a Slider plus a NumberBox . If the parent is nil, then EZSlider will create its own wi ...
-
... 9, \xx -> 10, //analog controller x axis \yy -> 11, //analog controller y axis \slider -> 12, \hat -> 13 ]) ) // then you can use the named key: ( a = Phid ( \x , 0, inf); x = a.asStream; Routine ({ loop({ x.next.postln; 0.2.wait; }) }).pla ...
-
... are created with the same beginning arguments, parent and bounds , for example, Slider ( parent , bounds ). The parent is a container view of some kind, and the bounds are an instance of Rect or a Point (for width and height only). Using a ...
-
... equires a new object to be created. In this example, it's critical that a new SCSlider not be created if the object was already passed in. f = { |slider, parent| slider = slider ?? { SCSlider .new(parent, Rect (0, 0, 100, 20)) }; slider.val ...
-
... , the steps don't have to be random. So here, we determine the step size from a slider. In general, GUI objects should not be used for data storage. The approach here is to save the step size into a variable, and then refer to that variable ...
-
... act class – the most common subclass is: ControlSpec ControlSpec is used by GUI sliders and knobs to specify the range and curve of the controls. Input datatypes are of interest to functions, to gui interface objects (sliders etc.) and can ...
-
EZRanger a wrapper class for a label, a rangeslider, and numberboxes Inherits from: Object : EZGui EZRanger is wrapper class which creates an (optional) StaticText , and a Slider plus a NumberBox . If the parent is nil, then EZRanger will c ...