-
... (Color.grey(0.5)) ), HLayout( atkText= StaticText().string_("atk:"), atkNumber= NumberBox().clipLo_(0).scroll_step_(0.05).fixedWidth_(55), relText= StaticText().string_("rel:"), relNumber= NumberBox().clipLo_(0).scroll_step_(0.05).fixedWidt ...
-
... UI.value(win, name, this); } } *buildViewDictionary { var connectDictionary = ( numberBox: CVSyncValue, slider: CVSyncInput, rangeSlider: CVSyncProps(#[lo, hi]), slider2D: CVSyncProps(#[x, y]), multiSliderView: CVSyncMulti, popUpMenu: SVSyn ...
-
... itValue); view = CompositeView(parent, bounds); view.layout = HLayout( number = NumberBox().maxWidth_(numberWidth), slider = Slider().orientation_(\horizontal) ).margins_(0).spacing_(2); number.value_(value) .action_({ |view| value = view.v ...
-
... Color.white) .canFocus_(false) .action_({ arg ch; this.inbus = ch.value; }); /* NumberBox(window, Rect(545, 60, 36, 16)) .font_(font) .resize_(3) .action_({ arg view; view.value_(view.value.asInteger.clip(0, server.options.numAudioBusChanne ...
-
... "R"]]); goto = Button.new(w, Rect( 0, 0, 48, 20 )).states_([["go to"]]); line = NumberBox.new( w, Rect( 0, 0, 45, 20)).value_( 0 ); label = StaticText.new( w, Rect( 0, 0, 48, 20)).string_( "file"); prevFB = Button.new( w, Rect( 0, 0, 22, 20 ...
-
... { this.startMonitor } }) .font_(Font(Font.defaultSansFace, fSize)) ; rateBox = NumberBox.new(window, Rect(hMod*3.5+hOff, hMod*5+vOff, hMod*1.25, h)) .value_(1/dur) .action_({|v| dur = 1/v.value ; }) .font_(Font(Font.defaultSansFace, fSize) ...
-
... nds.height), 2@2, 2@2); }; labelColor = Color.white.alpha_(0.4); shortStd = GUI.numberBox.new( w, Rect( 10, 10, 40, 30 ) ); longStd = GUI.numberBox.new( w, Rect( 10, 10, 40, 30 ) ); if ( GUI.scheme.id == \swingosc, // why did I put \schwell ...
-
... ng_("targ").font_(font).align_(\center); 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 % ...
-
... } setPalette { var iter; win.view.palette_(palette); this.findKindDo(win.view, NumberBox, { |bx| bx.stringColor_(palette.baseText); bx.normalColor_(palette.baseText); bx.typingColor_(palette.windowText); } ); } // find a widget within a vi ...
-
... (window, Rect(545, 42, paramW, 16)) .font_(font) .resize_(3) .string_("BusIn"); NumberBox(window, Rect(545, 60, paramW, 16)) .font_(font) .resize_(3) .action_({ arg view; view.value_(view.value.asInteger.clip(0, server.options.numAudioBusCh ...