-
... HandleView has no content other than it's background, so if it's contained in a layout it may be resized to a 0px width or height. To prevent this, specify an explicit size using View: -minHeight / View: -minWidth / View: -minSize or View: ...
-
... able like that CCResponder(nil, nil, data[1], data[2], nil, true) }, gui: { arg layout; var l, ne, tb, ve; var oneShot; var source = ~source; l = layout ?? {PageLayout("CC", Rect(0, 0, 500, 600))}; tb = ToggleButton(l, "Learn", { oneShot = ...
-
... Filter: View hierarchy Every view can be a window Every view can be a container Layout management Intrinsic view sizes Layout classes Color management The palette Predefined palettes View actions and hooks Mouse and key event propagation Ex ...
-
/* m.free; m = MKtl(\ax, "*axis49"); m.gui; // gui layout sketch: // I don't know what the real midi numbers on each pad, // so this is just for making the pads geometrically w = Window("axis49 - selfless layout, 98 keys in columns", Rect(0 ...
-
... r pwin, win= Window("sInstruments menu", winRect); win.userCanClose= false; win.layout= VLayout( HLayout( StaticText().string_("sInstruments: "++SInstruments.version), nil, (preferencesButton= SGUIsettings()).view ) ); win.layout.add(Static ...
-
... ited class methods Instance Methods . guiBody (describe method here) Arguments: layout (describe argument here) bounds (describe argument here) Returns: (returnvalue) . curveGui (describe method here) Arguments: layout (describe argument he ...
-
... skin.buttonHeight)); }; parent.onClose = { this.stop }; } makeBusMeter { arg bi,layout,bounds; var bv,pk; bounds = bounds ?? {Rect(0,0,30,180)}; bv = LevelIndicator( layout, bounds ) .warning_(-0.2.dbamp) .critical_(-0.01.dbamp) .style_(0) ...
-
... pHi_(2) .decimals_(2) .normalColor_(Color.white) }); var grid = GridLayout.rows( // grid with column headers and row headers *(0..6).collect({arg k; if (k == 0) { (0..6).collect({arg i; if (i == 0) { ...
-
... ers[\array].add(thisBuffer); thisKnob = EZKnob(window, 80@20, "amp (dB):", \db, layout: \horz).value_(0).action_({|knob| notes[(\array ++ inc).asSymbol].set(\amp, knob.value.dbamp)}); guiElements[\arrayAmps].add(thisKnob); thisButton = Butt ...
-
... pos is: "++p) }.enOut; })).start; ) // is down ( t = StaticText(); w = Window().layout_(HLayout(t)).front; ENdef(\x,{ var pos = w.view.enMouseIsDown; pos.collect{ |b| IO{ t.string_("mouse is down: "++b) } }.enOut; }).start; ) //track mouse ...