-
... (800@10)); StaticText(win, (100@30)) .font_(font) .string_(" Tempo:"); NumberBox(win, (100@30)) .align_(\right) .font_(font) .step_(0.01) .scroll_step_(0.1) .clipLo_(40) .clipHi_(400) .value_(TempoClock.default.tempo * 60) ...
-
... 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 ...
-
... cause an error at the definition line. //sum with last value ( //Setup GUI a = NumberBox(); b = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("In:"), a, StaticText().string_("Out:"), b ) ); w. ...
-
... 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 ...