-
... iXOSC.views.keep(-16).do{|v| v.view.visible_(false)}; // hide unused Comparator Buttons g.guiXOSC.views[(43..49)].do{|v| v.view.enabled_(false)}; // dim unused analog ins /// hack in led displays: // orig // g.guiXOSC.views[27 + (0..15)].do ...
-
... "<id>"); StaticText(view, Rect(0,0, 40, 20)) .string_("private:"); privateBtn = Button(view, Rect(0,0, 40, 20)) .states_([["no"], ["yes"]]) .action_({ |b| republic.private = b.value > 0 }); listView = ListView(view, Rect(0, 0, width * 0.5 - ...
-
... ool) bool - An instance of Boolean . Examples ( w = Window ( "mov" ).front; b = Button (w, Rect (0, 0, 150, 20)) .states_([[ "pick a file" ]]) .action_({ File .openDialog( "" , { |path| m.path_(path) }) }); m = MovieView (w, Rect (0,20,360, ...
-
... nColor : Color(0.5, 1, 0.5), offColor : Color.clear, gap : 0 @ 0, margin : 2@2, buttonHeight : 16 *cocoa Makes Cocoa (Mac OS X GUI) the current scheme and returns it. Subsequent GUI object calls to GUI are delegated to cocoa. Returns the cu ...
-
... (knobColor:Color.blue(0.9,0.5)) .font_(Font("Helvetica", 24)); ~testButton = Button.new(w, Rect(650, 25, 160, 40)) .states_([ ["start test", Color.white, Color.green(0.65)], ["stop test", Color.white, Color.red(0.6 ...
-
... or = FlowLayout( w.view.bounds, 10@10, 20@5 ); q = Bus.control(s, 1); a = Button(w, Rect(20, 20, 340, 30)) .states_([ ["Load a Sound File into a Buffer", Color.white, Color.black] ]) .action_({ s.waitForBoot{ if(y!=nil, {y.f ...
-
... o: SCWindow , SCModalWindow Dismissing Modal Sheets SCModalSheets have no close button. It is therefore very important that you add an SCButton or some other GUI widget to allow the user to dismiss the sheet. As an 'escape hatch' pressing t ...
-
... iables or model classes) separate from your application (actions on that data). button.action = { a.wiggle(1); } // make a function slider.action = a.func( 'wiggle' ) // call the API using lookup by API name NoteOnResponder ({ |src,chan,not ...
-
... = HLayout( VLayout( StaticText().string_("Cavern_1"), Button() .states_([ ["OFF", Color.gray(0.2), Color.green(0.8)], ["ON", Color.gray(0.8), Color.grey(0.2)] ]) .mouseDownAction_({ arg ...
-
... col: \osc, deviceType: \minibee, elementTypes: [\accelerometer, \analogSensor, \button], status: ( linux: "tested (fake device only); 2016_03_20 by nescivi", osx: "unknown", win: "unknown"), idInfo: "minibee1-xpree", netAddrInfo: ( srcPort: ...