-
... sets proxy too. object.morphVal_(1); }; flow.nextLine; // lower line setLBox = NumberBox(zone, Rect(0,0, 30, butHeight)) .background_(skin.foreground) .font_(font).align_(\center) .value_(-1).step_(1) .action_({ |box| var val = box.value % ...
-
SmoothNumberBox part of wslib a Pen -based replacement for SCNumberBox , with extra styling options. SmoothNumberBox works the same way as a SCNumberBox but, as the name states, it looks smooth. SmoothNumberBox is a subclass of RoundNumberB ...
-
... ue_(param.value[0]); widget[1].value_(param.value[1]) }; }.defer; }; widget = [ NumberBox(win, 45@20) .action_({ | num | anOssiaParameter.value_( [ num.value, anOssiaParameter.value[1] ] ) }) .maxDecimals_(3) .step_(0.001).scroll_step_(0.00 ...
-
... }); StaticText(win, Rect(78, 260, 36, 18)).string_("w:").resize_(7); widthbox = NumberBox(win, Rect(94, 260, 36, 18)) .value_(width) .align_(\center) .resize_(7) .action_({arg numb; width = numb.value; }); StaticText(win, Rect(136, 260, 36, ...
-
... w( view, 35@80 ).action_({ |slid| val.valueAction_( slid.value ); }); val = GUI.numberBox.new( view, 35@20 ).action_({ |nb| var curVal; curVal = nb.value.clip(0,1); dmx.currentCue.data.put( chan.value, curVal ); if ( dmx.autoSet, { dmx.setC ...
-
... hlight] ])), SGUI.shrink(StaticText().string_("Attack")), attackElement.addView(NumberBox().scroll_step_(0.1), attackSpec).fixedWidth_(55), SGUI.shrink(StaticText().string_("Release")), releaseElement.addView(NumberBox().scroll_step_(0.1), ...
-
... in, name, interp| ~slider.value(win, name, interp.interpCV, Rect(0,0,400,20)); ~numberBox.value(win, name, interp.targetCV, ~smallNumericalRect.value); ~simpleButton.value(win) .states_([["<"]]) .action_({ interp.targetCV.value = interp.tar ...
-
... Layout(Slider(w).action_(f1).mouseUpAction_(f3).orientation_(\horizontal), b1 = NumberBox().value_(res)), HLayout(Slider(w).action_(f2).mouseUpAction_(f3).orientation_(\horizontal), b2 = NumberBox().value_(size)), HLayout( Button(w).states_ ...
-
... tion_({ |element| self.changed(\volumeSlider, element.value); }); ~channelBox = NumberBox() .fixedWidth_(40) .action_({ |element| self.changed(\channelBox, element.value) }); ~durationBox = NumberBox() .fixedWidth_(40) .action_({ |element| ...
-
... spec, rd, exp, dt) make an AutoRand ctl - the controller to randomize. e.g. an NumberBox, or EZSlider etc. spec - its controlSpec, rd - the normalized random offset (between 0 and 1) by which to mutate. exp - the exponent for the random di ...