-
... w.bounds.width, view.bounds.height ) ) } ); color_picker_view.background_( Color( 0.5, 0.5, 0.5 ) ); color_picker_view.layout_( VLayout( [ helper, stretch:1 ], [ HLayout( [ h_slider, stretch: 1 ], [ ...
-
... rted properties: font, fontColor, gridColorX, gridColorY, plotColor (an array), backgroundColor, gridLinePattern, gridLineSmoothing (bool), labelX, labelY, gridOnX (bool), gridOnY (bool) ( a = { (0..30).scramble }.dup(2).plot2; a.setPropert ...
-
... tte.buttonText, palette.highlight] ]), plate= View().fixedSize_(Size(320, 240)).background_(Color.grey(0.9, 0.5)), infoTextElementString.addView(StaticText().fixedHeight_(" ".bounds(fnt).height*2) .align_(\topLeft).background_(Color.grey(0. ...
-
... phical configurations : ( var win = Window( "", Rect( 100, 100, 90 * 8, 400 ) ).background_(Color.black); var slider1 = GMSymbolSlider() .value_(0.75) .symbol_(\diamond); var slider2 = GMSymbolSlider() .value_(0.75) .symbol_(\circle); var s ...
-
... press 'Enter': w = Window.new("Fading").front; r = Routine({ 200.do({|i| w.view.background = Color.blue(val: 1, alpha: 1 - (i * 0.005)); 0.005.wait; }); w.close; }); AppClock.play(r); ⧉ ✔ Some examples do require lines to be executed one at ...
-
... 'Enter': w = Window .new( "Fading" ).front; r = Routine ({ 200.do({ |i| w.view.background = Color .blue(val: 1, alpha: 1 - (i * 0.005)); 0.005.wait; }); w.close; }); AppClock .play(r); Some examples do require lines to be executed one at a ...
-
... .link( view.blue);// getter is default to \value control.area.link( view.area, \background_);// ObjectController only gets a setter }; ~linkColorModelAndViewAlternative = { |control, view| control.red.link( view.red, \value, \value_, \freq. ...
-
... . ( w = Window.new(bounds:Rect(100,100,200,200)).layout_( VLayout( UserView.new.background_(Color.rand), TextField().string_("Super").maxWidth_(100), UserView.new.background_(Color.rand).minSize_(200@200), TextField().string_("Collider").ma ...
-
... is", Rect(150, 150, 500, 480)).front; win.onClose = {"done".postln}; // win.background = Color.gray(0.87, 0.95); win.background = Color.new255(193, 98, 90, 235); // Slider2D slider2D = Slider2D(win, Rect(50, 40, 400, 400)) .x_ ...
-
... ageComposites = pages.collect({ |i| CompositeView( parent, parent.view.bounds ).background_( Color.hsv( i / pages, 0.75, 0.75, 0.1) ); }); }; // keep groups with a groupType together ////// this is not ideal, because groupType has to be def ...