-
... mpleButton(menu.startRow,w.name,{ var f; f = PageLayout("GUI debugger" + w.name,Rect(0,0,1200,6000)); g.value(w.view,f); },200) }); menu.resizeToFit; g = { arg view,f, indent=0; var oldColor,x; f.startRow; GUI.staticText.new(f,(25*indent)@1 ...
-
... s ( var numChan= 4; var win, msliders; win= Window("fft gui example scrolling", Rect(100, 100, 640, 480)).front; msliders= { MultiSliderView() .canFocus_(false) .isFilled_(true) .colors_(Color.black, Color.grey) .value_([0]) .elasticMode_(1 ...
-
... 4; var gap = 2; var menuView, menuH = 22; var plusButtonTask; bounds = bounds ? Rect(100,100,700,400); this.newWindow(bounds, "USession - "++session.name, { if(USessionGUI.current == this) { USessionGUI.current = nil }; this.remove; { if( ( ...
-
... ds, propsText, classVarsText; var saveBut; var fFact, specialHeight; var prefs, rect, shortcuts; prefs = this.readPreferences; if(GUI.id === \cocoa, { fFact = 0.9 }, { fFact = 1 }); tabFont = Font(Font.available("Arial") ? Font.defaultSansF ...
-
... str).init } gui { arg layout,bounds; this.guiBody( layout.asFlowView(bounds ?? {Rect(100,0,1000,Window.screenBounds.height - 50)} ) ); } guiBody { arg layout; var search,rateFilter; ActionButton(layout,"Load all Instr",{ Instr.loadAll }); s ...
-
... tr).init } gui { arg layout, bounds; this.guiBody( layout.asFlowView(bounds ?? {Rect(100, 0, 1000, Window.screenBounds.height - 50)} ) ); } guiBody { arg layout; var search, rateFilter; ActionButton(layout, "Load all Instr", { Instr.loadAll ...
-
... 00, height= 512, w, cnt= 0, lsys, lplot; //--world w= RedWindow("lsystem test", Rect(128, 64, width, height)).front; //lsys= RedLSystem("F", ($F: "-[-F+F+F]+[+F-F-F]")); //lsys= RedLSystem("F", ($F: "F[+F--F]+F")); lsys= RedLSystem("F", ($F ...
-
... ) .setSpec( \center, PointSpec( 200, 0.1@0.1 ) ) .setSpec( \radius, PointSpec( Rect(0,0,200,200), 0.1@0.1 ) );
-
... nt, bounds)) .relativeOrigin_(true); this.view.drawFunc_({ var bounds; bounds = Rect(0, 0, this.view.bounds.width, this.view.bounds.height); // frame Color.black.alpha_(0.4).set; GUI.pen.width = 2; GUI.pen.moveTo(bounds.left @ (bounds.top + ...
-
... ring { arg prompt,defaultString,callback; var b; Sheet({ arg l; b = TextField(l,Rect(0,0,150,30)); b.string = String.new ++ defaultString; b.action = {arg field; callback.value(field.value); l.close; }; },prompt); { b.focus }.defer; } } Mod ...