-
... ile.close; } /* DEFINE PRESET UI */ createUI { | container | container.layout = VLayout( StaticText.new.string_("Preset").fixedHeight_(15).align_(\center), /*Button.new.states_([["Mute All", Color.black, Color.white], ["Unmute All", Color.w ...
-
... ().states_([[0],[1]]); q.window = Window(bounds:Rect(200,200,200,100)).layout_( VLayout( HLayout( *q.knobs ), HLayout( *q.numboxes ), HLayout( *q.texts ), q.button ) ).front; q.synths = [ { |freq=400| Pan2.ar( SinOsc.ar(freq)*0.2, -1.0) }.p ...
-
... eight, totalHeight; name = parameterName; value = parameterValue; this.layout = VLayout().spacing_(0).margins_(0); currentLayout = HLayout().spacing_(0).margins_(0); // Add label of parameter name. subView = StaticText.new(this); subView.st ...
-
... ~view.front; ) ⧉ ✔ Action help strings ( ~view = View(bounds: 300@100).layout_(VLayout( Button() .states_([["Options..."]]) .action_({ ~menu.front }), ~text = TextView() )); ~menu = Menu ( MenuAction("Option A").toolTip_("I like option A.. ...
-
... yer.stop})}); player.removeDependant(this); onCloseAction.(); }); view.layout_( VLayout( HLayout( VLayout( filenameString = StaticText() .font_(Font("Arial", 14)) .background_(skin.background) .stringColor_(skin.string) .align_(\center) .vi ...
-
... ifiers, unicode, keycode | this.prKeyDown(char, modifiers); }); window.layout = VLayout.new( HLayout.new( StaticText.new().string_("Preset:"), presetPopUp = PopUpMenu.new(), nil, StaticText.new().string_("(ctrl+r)"), resetPresetButton = But ...
-
... Mode_(\index) .action_({ |index, value| levels[index] = value; }); win.layout_( VLayout() .margins_(0) .add(multiSlider) ); win.onClose_({ if(routinePlaying) { routine.stop; }; }); CmdPeriod.doOnce({ routinePlaying = false; win.close; }); w ...
-
... var backgroundImage; var win= Window("sFormant", winRect); win.layout= HLayout( VLayout( //--amplitude control section StaticText().string_("Amplitude control"), VLayout( HLayout( StaticText().string_("AmpHi").fixedWidth_(50), [ampHiElement ...
-
... win.front; win.view.background= GUI.skins.redFrik.background; win.view.layout= VLayout( HLayout( inBox= RedNumberBox().maxHeight_(lh).maxWidth_(bw) .value_(redMatrixMixer.in) .action_({|v| var val= v.value.round.max(0); redMatrixMixer.in= ...
-
... folder, controls| var keyDownAction; //--gui view= View(parent, bounds).layout_(VLayout( HLayout( [popup= PopUpMenu().items_( ["_"]++soundfiles.collect{|x| x.path.basename} ).canFocus_(false), \stretch: 1], readFolderButton= Button().states ...