-
... n; win = SCModalWindow ( "What kind of person?" , 230@60); win.view.decorator = FlowLayout (win.view.bounds); EZPopUpMenu (win, 210@20, "Are you:" , [ 'Dog Person' ->{person = "Dog Person" }, 'Cat Person' ->{person = "Cat Person" }], initAc ...
-
... = false // lots of sliders on on view ( w= Window .new.front; w.view.decorator= FlowLayout (w.view.bounds); w.view.decorator.gap=2@2; 20.do{ EZSlider (w, 392@16, " Freq " , \freq ,unitWidth:30,initVal:6000.rand, numberWidth:60,layout: \horz ...
-
... ); // lots of numberviews on on view ( w= Window .new.front; w.view.decorator= FlowLayout (w.view.bounds); w.view.decorator.gap=2@2; 40.do{ g= EZNumber (w, 170@16, " test " , \ freq ,unitWidth:30, numberWidth:60,layout: \horz ); g.setColor ...
-
... ); // lots of range sliders on a view ( w= Window .new.front; w.view.decorator= FlowLayout (w.view.bounds); w.view.decorator.gap=1@1; 20.do{ g= EZRanger (w, 400@16, " test " , \freq ,{ |v| v.value.postln},[50.rand,50+20000.rand],unitWidth:3 ...
-
... w = Window .new( "my own scope" , Rect (20, 20, 400, 500)); w.view.decorator = FlowLayout (w.view.bounds); c = Stethoscope .new(s, view:w.view); w.onClose = { c.free }; // don't forget this w.front;
-
... ew (w, Rect (400,10,380,380)).background_( Color .rand(0.7)); v.decorator = n = FlowLayout (v.bounds, margin: 0@0, gap: 5@5); a = StaticText (v, Rect (20, 70, 90, 20)).string_( " xZoom = 1" ).background_( Color .rand); m = Slider (v, Rect ( ...
-
... ; // lots of textFields on one window ( w= Window .new.front; w.view.decorator= FlowLayout (w.view.bounds); w.view.decorator.gap=2@2; 40.do{ g= EZText (w, 170@16, " test " , textWidth: 120,layout: \horz ); g.setColors( Color .grey, Color .w ...
-
... ; ~ampUpdater.remove; ~oscTrigResp.remove; player.stop; }); ~w.view.decorator = FlowLayout (~w.view.bounds, 2@2, 2@2); ~ampView = EZSlider (~w, 295@20, "amplitude" , \amp , labelWidth: 80, numberWidth: 60); ~ampView.sliderView.canFocus_( fa ...
-
... w = Window ().front; g = JITGui ( Ndef ( \a ), 5, w); ) ( // recommended: use a FlowLayout. w = Window ().front; w.addFlowLayout; EZSlider (w, 300@100, \test , []); g = JITGui ( Ndef ( \a ), 0, w, bounds: 300@40); )
-
... e First !!!" , Rect (400,400,300,specs.size * 40)); controller.view.decorator = FlowLayout (controller.view.bounds.insetBy(10), 10@10); specs.size.do { |i| SCSlider .new(controller, Rect (0,0,150,20)) .action_({ |obj| specs[i][0].perform(sp ...