-
... nnels, { arg i; GUI.button.new(rightFlow, Rect(0, 0, 50, 20)) .states_([ ["ok", Color.black, Color.grey], ["CLIP", Color.white, Color.red] ]) .action_({ // arg b; clipButtons.do({ |b, j| Post << "Channel " << j << " maximum clip: " << maxCl ...
-
... ( GridLayout.rows( *{{ blackButtons.add(Button().states_([ ["", palette.window, Color.black], ["", palette.window, palette.highlight] ]).fixedWidth_(25)).last; }.dup(4)}.dup(2) ), HLayout( *{ redButtons.add(Button().states_([ ["", palette.w ...
-
... e" ][i]; Button(win, Rect(iW * i, 50, iW, 30)) .states_([ [inputs, Color.grey, Color.white], [inputs, Color.white, Color.grey] ]) .action_{ arg butt; if(butt.value == 1) { snd.set(\which, i); btns.size.d ...
-
... state var <>verbose = false; var faderMode = false; var sliderValues; var sliderColors; var defaultMode = \switch; // switch/hold var defaultSwitchNumStates = 4; // they follow the internal row/column numeration var <padInternalState; // ar ...
-
... ction. Arguments: val A float setting the state number. . background Arguments: color Background color of the widget. Should be an instance of a Color . Returns: current color Inherited instance methods Examples a = WsWindow.new("new title" ...
-
... ale defaults to 0.1. aFloat - An instance of Float . Customizing Appearance knobColor knobColor_ (color) Set the knob Color for a slider- color - An instance of Color . Subclassing and Internal Methods The following methods are usually not ...
-
... nnels, { arg i; GUI.button.new(rightFlow, Rect(0, 0, 50, 20)) .states_([ ["ok", Color.black, Color.grey], ["CLIP", Color.white, Color.red] ]) .action_({ // arg b; clipButtons.do({ |b, j| Post << "Channel " << j << " maximum clip: " << maxCl ...
-
... ue; var in, out, prevNode, curNode; window = Window(title); window.background = Color.black; window.onClose = { run = false }; window.drawFunc = { var prevNodes = Array.newClear(busIndices.size); synthList.do { |synth, i| var nodeSize = 20; ...
-
... UserView { var thisDrawGridBG = false; var thisDrawDotGridBG = false; var bgGridColor; var bgGridWidth = 1; var thisDrawGrid = false; var thisDrawDotGrid = false; var gridColor; var gridWidth = 2; var caseSize; var thisGridSize; var nearest ...
-
... verride logic so this is not a toggle button createButton{ var states = [[name, Color.white, Color.grey]]; var action = {|butt| showButtonFunc.value()}; button = Button() .states_(states) .action_(action); } }