-
... iew.decorator = dec = FlowLayout(w.view.bounds, 10 @ 5, 2 @ 2); activeBut = GUI.button.new(w, Rect(0, 0, 50, 30)); activeBut.states = [["away", Color.black, Color.clear], ["here", Color.red, Color.clear]]; activeBut.action = { |b, x, val| i ...
-
... gain?", "what the..."].wchoose([0.50, 0.10, 0.10,0.5,0.5,0.5,0.5,0.5,0.5]); GUI.button.new(win ,Rect(220, 50, 60, 30)) .states_([[str, Color.black,Color.clear]]) .action_({ win.close;}) .focus(true); } } /* a = Window.new("test", Rect(10, 1 ...
-
... r, levelTextArr, levelArr, vlay, sendsMenuArr, sendsKnobArr, outputMenuArr, muteButton, recButton, soloButton, spaceButton, volButtons, buttonsLay1, buttonsLay2, oscDefFunc, levelSoloStates, fxSlotArr, trackLabelArr, spaceTextLay, panKnobLa ...
-
... tiHeight + 60)) .front; view = win.view; }; flo = view.addFlowLayout(1@1, 2@2); Button(view, Rect(0,0, 60,20)).states_([["start"]]) .action_({ this.start }); Button(view, Rect(0,0, 60,20)).states_([["stop"]]) .action_({ this.stop }); ezWidt ...
-
... tests m.openDevice; m.gui.showLabels; m.elAt(\bt, 0).dump ****** LAYOUT: ***** buttons 1-4: play snd 1-4 joysticks x, y: setRel influx - maybe add setAbs ... bt shoulder right upper: mainfx preset down bt shoulder right lower: mainfx prese ...
-
... mns = ["dependency"]; } makeDependencyView { |index, dep| var view, text, removeButton; view = View().layout_(HLayout( text = TextField().string_(dep).action_({ |v| this.setDependency(index, v.string); }), removeButton = Button().states_([[ ...
-
... tiHeight + 60)) .front; view = win.view; }; flo = view.addFlowLayout(1@1, 2@2); Button(view, Rect(0,0, 60,20)).states_([["start"]]) .action_({ this.start }); Button(view, Rect(0,0, 60,20)).states_([["stop"]]) .action_({ this.stop }); ezWidt ...
-
... , \c, \d]); g = InfluxKtlGui(); g.object_(a); g.xyMapDict.put(\x, \z); // set a button by hand: g.setButton(2, \otto, { |bt, modif| if (bt.value > 0) { "otto".speak } { "off".speak } }); Ndef(\four, { |a, b, c, d| SinOsc.ar( 440 * (2 ** [a, ...
-
... n = { |el| Ndef(\test).vol_(\amp.asSpec.map(el.value)); }; // add play and stop buttons q.nk.elAt(\play).action = { |el| Ndef(\test).play; }; q.nk.elAt(\stop).action = { |el| Ndef(\test).stop; }; // ... and test that all these work as inten ...
-
... lity within its GUI. To edit or remove a shortcut you'll have to click the edit-button first. The shortcut-field (next to the label "shortcut:") will get set to whatever key you hit - also during editing the action - it's advisable to first ...