-
... dow .new; v = HLayoutView (w, Rect (10,10,300,300) ); Array .fill( 10, { arg i; Slider ( v, Rect (0,0,20,75) ).value_(i / 10) }); w.front; ) Examples // Childview height fills the View automatically ( q = 10; w = Window .new; h = HLayoutVie ...
-
... width labelW : 80 width of a label and numberbox vh : 200 height of a vertical slider vw : 20 width of a vertical slider It uses those values to define a set of fuctions that create default boundary rectangles for different views: numerica ...
-
... Objects.notNil && guiObjects.isEmpty.not, { // if(guiObjects[sourceKey][\wetnessSlider].notNil, { // guiObjects[sourceKey][\wetnessSlider].value // }, { // OFX_Chain.atSrcDict(sourceKey).level // }) // }); // var wetness = Slider.new() // . ...
-
... s class with the following set of examples: ( // first we setup a Window with a slider w = Window ().front; w.addFlowLayout; z = Slider ( w, 120 @ 20 ); z.action = { |vw| vw.value.postln; }; // moving the slider shows the value in the post ...
-
/* FILENAME: SliderFactory DESCRIPTION: Factory class AUTHOR: Marinus Klaassen (2021Q4) */ SliderFactory { *createInstance { |caller, class, deviationID| var newInstance = Slider(); class = class.asString(); case { class == "slider-horizont ...
-
... ying for example). The left box shows when signal is coming in. The sensitivity slider controls the limits of that. The right box displays a red circle when the recorder is recording. The "prerec" controls how long BEFORE the sound in time ...
-
... a.symbolSize = 3; a.symbolColor = Color.blue; a.background = Color.black; // Y Slider Slider(w, Rect(10, 470, 450, 10)).action_{|me| a.rotY = me.value * 2pi; w.refresh; }; // X Slider Slider(w, Rect(470, 10, 10, 450)).action_{|me| a.rotX = ...
-
... ( HLayout( StaticText().string_("AmpHi").fixedWidth_(50), [ampHiElement.addView(Slider().orientation_(\horizontal)), stretch:1], ampHiElement.addView(NumberBox().decimals_(3), ampHiSpec) ), HLayout( StaticText().string_("AmpLo").fixedWidth_ ...
-
... 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 ...
-
... w| view.value = view.items.indexOfEqual(this.stringForPopUp(val)) ? 0 }) .put(EZSlider, { |val, view| view.value = val }); comp = CompositeView(parent, bounds); //.background_(colPal[1]); comp.decorator = FlowLayout(comp.bounds); Button(com ...