-
... (n, Rect(0, i * 20, 200, 20)).align_(\center).background_(Color.rand) }.dup(5); StaticText.new(n,200@150).string_("hold down cmd and drag points from the slider to the drag slots, or reverse").stringColor_(Color.white); w.front; ) A sound e ...
-
... line text field ListView SCListView JSCListView QListView a list of text items StaticText SCStaticText JSCStaticText QStaticText a text label NumberBox SCNumberBox JSCNumberBox QNumberBox editable number field DragSource SCDragSource JSCDr ...
-
... yout = VLayout( HLayout( goButton = Button().fixedWidth_(60), VLayout( HLayout( StaticText().fixedWidth_(80).align_(\center).string_("curve"), curveNum = NumberBox().fixedWidth_(60), curveSl = Slider().orientation_(\horizontal).fixedHeight_ ...
-
... or label, slider, number box Source: EZSlider.sc See also: Slider , NumberBox , StaticText , CompositeView , EZGui Description EZSlider is wrapper class which creates an (optional) StaticText , and a Slider plus a NumberBox . If the parent ...
-
... critical error!"); ) // Let's display our errors in a noticable way. ( ~error = StaticText(bounds:400@100).align_(\center).stringColor_(Color.red).front; Log(\myproject).actions.add({ |item| if (~error.isClosed.not && item.level == \error) ...
-
... so: NumberBox Description EZNumber is wrapper class which creates an (optional) StaticText , and a NumberBox . Some Important Issues Regarding NumberBox If the parent is nil , then EZNumber will create its own window. See EZGui more options ...
-
... { }); v = VLayoutView(w, Rect(140, 20, 200, 300)); // Group the following views StaticText(v, Rect(20, 20, 180, 60)) .string_("The button does nothing at first, so try dragging a function to the button"); DragSource(v, Rect(20, 20, 80, 26)) ...
-
... he value through a ControlSpec a NumberBox — shows and sets the current value a StaticText — arg name label; press any key on it to open a ControlSpec editor Additional controls: Play/Pause button Monitor button — starts a Task polling synt ...
-
... d) ( // to attach to MainMenu use *newMenuOnly var amenu; FlowView.new.flow{|w| StaticText(w, 300@30).string_("Look at the macOS menu")}; amenu=ActionQMenu.newMenuOnly("testmenu",[ "-", 'Test1'->{"-> Test1".postln}, "-test2", MenuAction("Te ...
-
... ect(128, 64, 340, 160)); w.front; c = Slider.new(w, Rect(10, 10, 300, 30)); d = StaticText.new(w, Rect(10, 40, 300, 30)); c.action = { d.string = "unmapped value" + c.value.round(0.01) + "......" + "mapped value" + a.map(c.value) }; ) ⧉ ✔ / ...