-
/* CompassView -- a view for GamePad compasses. // tests w = Window("Compass").front; z = CompassView(w.view, Rect( 100, 100,100,100)); z.action = { |comp| comp.dump }; z.nameView.string = "test"; z.value = 0; z.value = rrand(1, 8); z.value ...
-
// check for raspi screen Window.allWindows.do { |w| var bnds = w.bounds; if (bnds.width > 790) { ("too wide:" + w.name + bnds.width).postln; bnds.width = min(bnds.width, 790); }; if (bnds.height > 440) { ("too high:" + w.name + bnds.height ...
-
/**** New mainstage window: ***** new layout so it scales better: butz scope - meters - [ ] <- free for influx ------------- snap butz slot1 nUFO nUFO zoom nufoInfo butz slot2 Info preUp clock butz slot3 Info preDn recButs butz slot4 nUFO n ...
-
... Euros to Pounds ( //Setup GUI var nb1 = NumberBox(); var nb2 = NumberBox(); w = Window(bounds:Rect(200,200,200,100)).layout_( HLayout( StaticText().string_("Euro:"), nb1, StaticText().string_("Pound:"), nb2 ) ).front; ENdef(\x,{ var rate = ...
-
... s.add(attribute); defaultValues.put(attribute, defaultValue); } createGUI { var window, hLayout; var controlSection, objectSection, attributeSection; var numColumns = 3; var controlSectionWidth = 180; var objectSectionWidth = 150; var attri ...
-
// Assemblage: windows: the mixer, effect windows, master output and direct-input recording windows. // Part of the Assemblage class: the class and its variables are in Assemblage.sc. + Assemblage { mixWinBool {arg action={}; if(mixerWin.no ...
-
... rtoutputfilename = "/dev/null"; nrtanalysisfilename = tempdir++"NRTanalysis"; //Windows has no /dev/null for the NRT render to write its (unused) audio //to — use a real file in the temp dir instead. (The old check compared //platform.name. ...
-
... stall("PopUpTreeMenu", "tags/1.1.0");` ## Basic usage ```supercollider ( var w= Window("test", Rect(400, 400, 300, 100)).front; PopUpTreeMenu(w, Rect(30, 30, 100, 20)) .tree_( ( 'a drum': (), 'bass': ( 'funky': (), 'tuba': (), 'unhip': () ) ...
-
... 8768768; q = (a: 123, b: 234); b = 1 c = 2 d = 4 f = 1234 // * try changing the window size - the textviews adjust. // // * try writing into a textfield and evaluating // - this should set the global variables. To check, do: this.dump
-
/* \p_post Creates an pattern UMap for posting values in the post window. input: value or UMap to post The 'input' arg ranges is mapped to that of the parameter to which the UMap is connected -- this is an UMapDef definition file part of th ...