-
... cBut) }); // always make index box, don't show when indexToSet = nil indexBox = NumberBox(comp, Rect(0, 0, (buttonsWidth - 4 * 0.2), funcButHeight) ).string_("-").enabled_(false); comp.decorator.reset.shift(buttonsWidth + 8); } setBus { |in ...
-
... his ) }; StaticText( w, 60@20 ).string_( "#channels" ).align_( \right ); nCha = NumberBox( w, 40@20 ).value_( server.recChannels ) .clipLo_( 1 ) .action_({ |v| server.recChannels = v.value.asInteger }); //w.view.decorator.nextLine; StaticTe ...
-
... ox, paramDict, nChans) }); StaticText(w, 90@20) .string_("Duration:"); durBox = NumberBox(w, 50@20) .value_(1); x.nextLine; Button(w, 50@20) .states_([ ["Render", Color.green, Color.black] ]) .action_({arg me; CocoaDialog.savePanel({arg pat ...
-
... llColor= currentPalette.highlight; v.strokeColor= currentPalette.buttonText; }, NumberBox, { v.font= font; v.maxHeight= 22; v.typingColor= currentPalette.highlight; v.normalColor= currentPalette.buttonText; }, PopUpMenu, { v.canFocus= false ...
-
... ector, stepsLayout, stepLayouts, <selectors, buttonSteps, <proxySteps, sliders, numberBoxStepCount, popupMode; var <mainLayoutView, prevSlider, <sliderView, <labelView, <sequencerMode, <numberBoxView, unitView, controlSpecView ,<proxyStepsM ...
-
... 15 @ 15).font_(GUI.font.new("Helvetica", 9)).string_("Tgt").align_(\right); GUI.numberBox.new(win, 40 @ 15).font_(GUI.font.new("Helvetica", 9)).value_(tgt).action_({|v| Ê Êv.value = 0.max(v.value); Ê Êtgt = v.value.asInteger; }); // addActi ...
-
... .connect( Slider(w, Rect(x,32, xw, 15)).canFocus_(false); ); increment.connect( NumberBox(w, Rect(31, 26, 44, 20)) ); }); cursor.task_({loop { position.value = (wrap( position + increment, lo, hi).value); rate.value.wait } }); }; currentEnv ...
-
... ent, labelWidth@16 ).string_( label.asString ++ " " ).align_( \right ); }; vw = NumberBox( parent, if( label.notNil ) { 80@16 } { 30@16 } ).clipLo_(0).clipHi_(1) .step_(0.01).scroll_step_(0.01); if( vw.respondsTo( \maxDecimals_ ) ) { vw.max ...
-
... ^this } box { arg layout,bounds; var r,startValue,range,mod,startPoint; numv = NumberBox(layout,bounds) .value_(model.poll) .focusColor_(Color.yellow(1.0,0.5)) .font_(Font("Helvetica",10)) .action_({ arg nb; model.activeValue_(model.spec.c ...
-
... s } box { arg layout, bounds; var r, startValue, range, mod, startPoint; numv = NumberBox(layout, bounds) .value_(model.poll) .focusColor_(Color.yellow(1.0, 0.5)) .font_(Font("Helvetica", 10)) .action_({ arg nb; model.activeValue_(model.spe ...