-
... sible_ { |visible| textInput.visible = visible; } initializeView { mainLayout = VLayout(); mainLayout.margins = 0!4; mainLayout.spacing = 0; this.layout = mainLayout; textInput = TextFieldFactory.createInstance(this, "text-controlspec"); te ...
-
... ) .action_({ |x, y| synth.set(\bpFreq, x); synth.set(\amp, y); }); win.layout_( VLayout() .margins_(0) .add(multiSlider) ); win.onClose_({ if(synthFree.not) { synth.free; }; }); CmdPeriod.doOnce({ synthFree = true; win.close; }); win.front; ...
-
... ble = isVisible; isControlsVisible = isVisible; } initializeView { mainLayout = VLayout(); this.layout = mainLayout; buttonAdd = ButtonFactory.createInstance(this, class: "btn-add"); buttonAdd.fixedSize_(16); buttonAdd.toolTip = "Add a cont ...
-
... olor.grey) .value_([0]) .elasticMode_(1); }.dup(board.numChannels); win.layout= VLayout(*msliders); CmdPeriod.doOnce({win.close}); board.dataAction= {|num, data, acc| channels.do{|c, i| c.data= board.buffer[i]; if(notchFilters.notNil, { c.d ...
-
... Marinus Klaassen (2012, 2021Q3) EXAMPLE: ( w = View(bounds:500@700).front; l = VLayout([nil, stretch:1, align: \bottom]); w.layout = l; 10 do: { | position| l.insert(PatternBoxParamView().actionButtonDelete_({ | sender | "delete".postln; } ...
-
... View, argWindow| var saveWin; view = argView; window = argWindow; view.layout = VLayout( HLayout( [VLayout( HLayout( nil, bufButton = Button().fixedWidth_(120) .states_([["Buffers 缓冲区"]]) .action_({ stack.index = 0 }), midiButton = Button() ...
-
... ton = Button().states_([["Apply"]]) .action_{ this.applyAction() }; topLayout = VLayout( infoText, HLayout(linkButton, modeButton) ); bottomLayout = HLayout(cancelButton, applyButton); mainView = View(parent); mainView.bounds_(bounds).layou ...
-
... ( Env.perc, doneAction: Done.freeSelf ); Out.ar(0, snd!2); }).add; win.layout_( VLayout() .margins_(0) .add(keyboard) ); CmdPeriod.doOnce({ win.close; }); win.front; }); ) ⧉ ✔ helpfile source: /tmp/scquark_hs/GraphicalModule/HelpSource/Clas ...
-
... st = 36; GUI.qt; win = Window(synthdef, Rect(128, 320, 300, 120)); win.layout = VLayout.new; keys = ["1234567890", "QWERTYUIOP", "ASDFGHJKL�", "ZXCVBNM,.-"]; notes = Array.fill(4,{|i| Array.series(10,lowest+(i*v),h)}).reverse; buttons = Dic ...
-
... ().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 ...