-
... All; "Done!".postln}; CmdPeriod.doOnce({win.close}); win.view.decorator = FlowLayout(win.view.bounds, margin: 10@10, gap: 20@10 ); buttonArray = Array.fill(16, {Button(win.view, 80@80)}); buttonArray.do({arg item, count; it ...
-
... nger",Rect(900,200,300,150)) .front .alwaysOnTop_(true); w.view.decorator_(FlowLayout(w.bounds, 20@10,50@10)); ~tex_1 = StaticText(w.view, 80@20) .string_("Button_1") .align_(\center) .font_(Font("Monaco", 10)) .background_(Colo ...
-
... ct.fromPoints(posPoint, (posPoint + (400@410)))).front; win.view.decorator_(FlowLayout(win.bounds.copy.moveTo(0, 0))); win.view.decorator.nextLine; // a just in time - gui for the Tdef z = TdefGui(tdef, parent: win ...
-
... r.black; u.animate = true; pt = Point(); r = Rect(); //w.view.decorator = FlowLayout(w.view.bounds); bb = Button(w, Rect(60, 20, 40, 30)) .states_([ ["on", Color.black, Color.red], ["off", Color.w ...
-
... , 100, 1020, 520) ).background_(Color.gray(0.2)).front; win.view.decorator_(FlowLayout(win.view.bounds, 10@10, 10@10)); cview = UserView(win.view, 1000@500).background_(Color.gray(0.25)); cview.drawFunc_({ |v| var center, newce ...
-
... Rect.fromPoints(posPoint, (posPoint + (400@360)))).front; w.view.decorator_(FlowLayout(w.bounds.copy.moveTo(0, 0))); w.view.decorator.nextLine; // a just in time - gui for the Tdef z = TdefGui(tdef, parent: w); fdBox = EZ ...
-
... ndow.new("Additive Synthesis", Rect(400, 30, 590, 670)); win.view.decorator = FlowLayout(win.view.bounds, 20@20, 20@20); win.onClose = {s.freeAll; "Done!".postln; "".postln}; CmdPeriod.doOnce({win.close}); win.front; // Multisli ...
-
... // Change the gaps and margins to see how they work win.view.decorator = FlowLayout(win.view.bounds, margin: 10@10, gap: 20@20 ); buttonArray = Array.fill(16, {Button(win.view, 80@80)}); knobArray = Array.fill(16, {Knob(win.vie ...
-
... .background_(Color.grey(0.05)).front .alwaysOnTop = true; w.view.decorator_(FlowLayout(w.bounds,4@4, 4@4)); ~topPanel = UserView(w, 494@45).background_(Color.rand(0.7,0.9)); ~topPanel.decorator_(FlowLayout(~topPanel.bounds, 4@4, 4 ...
-
... ow( "The Tunnel", Rect( 128, 230, 110, 140)); ~tunnelWindow.view.decorator = FlowLayout( ~tunnelWindow.view.bounds ); ~tunnelPreset.list.do({|each, count| (Button(~tunnelWindow, 30@30).states = [[count]]).action = {(~tunnelPreset.curre ...