-
... ey, key.asSpec.map(val)) }); getFunc = { proxy.getKeysValues([key])[0] }; } makeButton { |parent, bounds| Button(parent, bounds) .states_([[""], ["", Color.white, Color.red]]) .action_({ |btn| if (btn.value == 1) { this.autoOn } { this.auto ...
-
... .do{|f| f.bufferSize_(board.bufferSize)}; win.refresh; }.valueAction_(2); btn1= Button(win, Rect((pw+2)*2+po, 20, pw/2, 20)).states_( [["Off"]]++DataFilterNotch.keys.collect{|x| [x.asString+"Hz"]} ).action_{|v| if(v.value>0, { notchFilters= ...
-
... css if(cssDict.size > 0, { ^str; }, { ^nil; }); } addWidget {arg name, kind = \button, func = {}, parameters = IdentityDictionary.new, spec = [0, 1].asSpec, sendNow=true; var paramsDict, id, okToAddWidget, step; if(name.notNil, { if(namesT ...
-
... , Rect(10, 10, 390, 3 + ( servers.size * 29))).front; w.addFlowLayout; killer = Button(w, Rect(0,0, 20, 18)); killer.states = [["K"]]; killer.canFocus = false; killer.action = { Server.killAll }; w.view.decorator.nextLine; servers.do{ |s| s ...
-
... ared: ( midiChan: 0, elementType: \pad, ioType: \in ), elements: // independant buttons [ [\play, 26, 86, 35], [\stop, 25, 85, 34], [\rec, 24, 84, 33], ] .collect { |midiSpec, index| ( key: midiSpec[0], elements: [ ( key: \on, midiNum: midi ...
-
... ciprocal = val; nil; }); }, { currentTpbReciprocal = val; }); }); rewindBut = HrButton(barView, Rect(450, 10, 20, 20)).states_([["<<"]]) .action_ ({ oldBeat = 0; cursorView.refresh; }); stopBut = HrButton(barView, Rect(475, 10, 20, 20)).sta ...
-
... ges.collect(_.last); Window.closeAll; q.cap.win = Window("capture caps").front; Button(q.cap.win, (100@30).asRect) .states_([["getRange"], ["capturing..."]]) .action_({ q.cap.getRange(12) }); INSIGHTS SO FAR: *** frame rate seems rather con ...
-
BoxMatrix a 2D grid of boxes/buttons boxes can be styled, titled, clicked, double clicked, dragged, copied, moved, swapped cascading style system allows display of different states for whatever is in the box default style individual box sty ...
-
... efault settings are for my ReMOTE 25, factory settings // controllers and their buttons controlNums = controlNums ? #[ [5, 2], [80, 3], [82, 4], [83, 6], [85, 8], [104, 9], [106, 11], [105, 12], [70, 13], [40, 14], [41, 15], [72, 16], [44, ...
-
... efault settings are for my ReMOTE 25, factory settings // controllers and their buttons controlNums = controlNums ? #[ [5, 2], [80, 3], [82, 4], [83, 6], [85, 8], [104, 9], [106, 11], [105, 12], [70, 13], [40, 14], [41, 15], [72, 16], [44, ...