-
+ StartupFile { *select { var w, selectButtons; var onCol = Color.green; this.updateFiles; w = Window.new( name: "Select startup file:", bounds: Rect.aboutPoint(Window.screenBounds.center, 100, 100) ); selectButtons = this.fileNames.collect ...
-
... the elements are in a group and organized hierarchically: k.elementGroup // the buttons are a group in elementGroup k.elementGroup[\bt] // hierarchical access works best with elAt: k.elAt(\bt); k.elAt(\bt, \1); // button names as printed on ...
-
MButtonView : Button { var <mode; // var <>action; var <>upAction; // var <>moveAction; mode_ { |modeName| mode = modeName; } upValue_ { |newValue = 0| this.value_( newValue ); } } MSliderView : Slider { var <mode; // var <>action; var <>up ...
-
... inder using a dragsink //--changes090613: //no longer use the GUI redirect (GUI.button.new became Button) //--changes090123: //changed boxColor_ to background_ //ctrl click to reset volume to 0db //--todo: //* colours and font from skin? Re ...
-
... nA3: '0_3', knA4: '0_4', knA5: '0_5', knA6: '0_6', knA7: '0_7', knA8: '0_8', // buttons 1st row btA1: '0_89', btA2: '0_90', btA3: '0_91', btA4: '0_92', btA5: '0_93', btA6: '0_94', btA7: '0_95', btA8: '0_96', // buttons 2nd row btB1: '0_97', ...
-
... dex| this.at(index)}; this.selectionAction.value(this.selected); }); var previewbutton = Button.new(win) .states_([["preview", Color.black, Color.red], ["preview",Color.black, Color.green]]) .action_({|obj| preview = obj.value.asBoolean; }) ...
-
... nd OSCdefs ## [0.2.0] - 2024-11-12 ### Added - Changelog - Refresh device lists button - Audio MIDI Setup button (Mac only) - Stereo input option (all tracks now use two input channels) - Set stereo width when activating stereo - Invert / i ...
-
... hive; var fixedRadioButt, drawBoxGrids, trackVolumeSlider; var envButtArray, envButtOnOffArray; var createCodeWin, codeArray, codeFlagArray, audioStreamFlagArray; var synthPrototypeArray; var createEnvWin, envArray, envFlagArray, createAudi ...
-
... (20, 20, 300, 100) }; w = Window("osc msg mon", bounds).front; w.addFlowLayout; Button(w, Rect(0,0, 45, 20)).states_( [[\on, Color.black, Color.grey(0.7)], [\off, Color.black, Color.green(0.9)]]) .action_({ |b| if (b.value > 0) { this.enabl ...
-
... ecorator = FlowLayout(Rect(2, 2, xsize, ysize), 2@2, 2@2); w; }; announce = GUI.button.new( w, Rect( 0, 0, 80, 20 )).states_( [ [ "ANNOUNCE", Color.black, Color.green ] ] ).action_( { network.announce } ).mouseOverAction_({ this.setInfo( "a ...