-
... ple: ( // default with vertical layout w = Window.new.front; w.view.decorator = FlowLayout(w.view.bounds); g = EZListView.new(w, 230@230, "An ListView:", [ \item0 ->{ |a| ("this is item 0 of " ++ a).postln }, \item1 ->{ |a| ("this is item 1 ...
-
... tive" , Rect (1, sb[1] - 300, 220, 400));\ w.front;\ \ w.view.decorator = dec = FlowLayout (w.view.bounds, 10 @ 5, 2 @ 2);\ \ check_func = false ;\ // \ cadavre.docs.notNil and: \cadavre.docs.notEmpty\ \; \ \ off_func = \ \ if(check_func.va ...
-
... aviour /* ( w = Window( "ExpandView", Rect(128,64,208,220) ).front; w.asView.addFlowLayout; v = 5.collect({ // create 5 ExpandViews ExpandView( w, 200@112, 200@16 ) // }); ) // typical "accordeon" action: v.do( _.expandAction = { |vw| v.do( ...
-
... ndlestick graph ( var size; size = 350 / 6; w = Window .new; w.view.decorator = FlowLayout (w.view.bounds); m = MultiSliderView (w, Rect (0, 0, 350, 100)); m.value_( Array .fill(size, {0.01})); m.isFilled_( true ); // width in pixels of eac ...
-
... /* ( var txt; w = SCWindow("Meter", Rect(300,400,300,120)); w.view.decorator = FlowLayout(w.view.bounds); w.front; m = VuView(w, 120@80); k = Knob(w, 32@32) .action = {|v| m.value = \amp.asSpec.map(v.value); txt.string = format("val: % dB" ...
-
... moothSlider behaves in the same way as EZSlider . ( w = Window .new.front; w.addFlowLayout; z = EZSmoothSlider ( w, // parent 390 @ 20 , // bounds " test " , // label \freq , // controlSpec { |ez| (ez.value.asString ++ " is the value of " + ...
-
... RoundSlider behaves in the same way as EZSlider . ( w = Window .new.front; w.addFlowLayout; z = EZRoundSlider ( w, // parent 390 @ 20 , // bounds " test " , // label \freq , // controlSpec { |ez| (ez.value.asString ++ " is the value of " ++ ...
-
... s of sliders on on view. nice tight fit. ( w=Window.new.front; w.view.decorator=FlowLayout(w.view.bounds); w.view.decorator.gap=0@0; 20.do{ EZFancySlider(w, 392@14," Freq ", \freq,unitWidth:30,initVal:6000.rand, numberWidth:60,layout:\horz) ...
-
... peed window = GUI .window.new( "purple shades" ).front; window.view.decorator = FlowLayout ( window.view.bounds ); Color .newName( "purple" , table ).findSameHueNames( table ) .sort({ |a,b| Color .newName( a, table).lightness <= Color .newN ...
-
... eenBounds.width-100,Window.screenBounds.height-180)).front; w.view.decorator = FlowLayout( w.view.bounds, 10@10, 20@5 ); q = Bus.control(s, 1); a = Button(w, Rect(20, 20, 340, 30)) .states_([ ["Load a Sound File into a Buffer", Co ...