-
... a.free; w =Window.new("sheefa", Rect(30, 30, 400, 100)).front; w.view.decorator=FlowLayout(w.view.bounds); w.view.decorator.gap=8@2; g = EZSlider(w, 380@20, "pitch ", ControlSpec(40, 110, \lin, 1, 60)); g.action_({ |ez| ( a.set(\note, [ ez. ...
-
... gba| Color.fromArray(rgba) }; w.view.background = colPal[1]; w.view.decorator = FlowLayout(w.view.bounds, 4@4, 0@0); Spec.add(\level, [0, 4, \amp]); volSpec = [-90, 6, \db].asSpec; makeButtonA = { |action| Button(w, Rect(0, 0, 15, 18)) .sta ...
-
... nil; "sample browser has been closed".postln; }); browseWindow.view.decorator = FlowLayout(browseWindow.view.bounds, 5@5, 5@5); alphabeticalSamples.do({ |key| Button(browseWindow, 100@25) .states_([ [key, Color.black, Color.white], [key, Co ...
-
... positeView(w, Rect(0,0,80,800)) .background_(Color.grey(0.1)); comp.decorator = FlowLayout(comp.bounds); PopUpMenu(comp, Rect(4, 4, 72, 30)) .items_([\pelog, \slendro]) .background_(Color.grey) .action_{ |pop| this.scale_(pop.items[pop.valu ...
-
... false ); window.front; window.alwaysOnTop_( true ); }; window.view.decorator = FlowLayout( window.view.bounds ); window.alpha_( 0.9 ); stringView = TextView(window, 340@(18 + ( 12 * extraLines )) ) .string_( default ); //stringView.enterIn ...
-
... , Rect(10, named.values.indexOf(this) * 120 + 10, 390, 92)); w.view.decorator = FlowLayout(w.view.bounds); }); menu = Menu( MenuAction.separator( name.asString ), Menu( MenuAction("Inputs", { serverMtr = this.uMeter( serverMtr, nil, 0 ); }) ...
-
//redFrik //--changes220116 //replace FlowLayout with Layout and fix background colors //change from Dialog to FileDialog to better handle folders //folder selection now remember last location //progressbar now wrap around when loop is on / ...
-
... mp = CompositeView(parent, bounds); //.background_(colPal[1]); comp.decorator = FlowLayout(comp.bounds); Button(comp, Rect(0,0, viewWidth, 20)) .font_(font) .states_([[title, Color.black, colPal[0]]]) .action_({ event.postcs; this.openDoc; ...
-
... parent.isKindOf(Window.implClass) }) { skin.margin } { 0@0 }; zone.decorator = FlowLayout(zone.bounds, zoneMargin, skin.gap); nameBut = Button(zone, Rect(0,0, nameWidth, height)) .font_(font) .resize_(2) .states_([ [" ", skin.fontColor, sk ...
-
... .font_(GUI.font.new("Helvetica", 9)) .string_("0"); win.view.decorator = lay = FlowLayout(win.view.bounds, 5@215, 5@215); // inBus GUI.staticText.new(win, 30 @ 15).font_(GUI.font.new("Helvetica", 9)).string_("inBus").align_(\right); GUI.po ...