-
... abelWidth: 25, numberWidth: 30 ); Button.new(w,Rect(0,0,20,20)).states_( [[">", Color.blue],["[]", Color.red]]).action_({ |but| but.value.postln; if ( but.value == 1){ this.start }{ this.stop} } ); } } BusHistoMonitor : BusMonitor{ var <>hi ...
-
... front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font(Font.defaultMonoFace, 24)); };
-
... orld w= RedWindow("growth2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0.1, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~ini ...
-
... world w= RedWindow("growth", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~initS ...
-
... tion Class methods new Inherited class methods Instance methods selected action colorFunc selectedColor labelArray altAction init select selectItem passiveSelect update refresh selectedIndex selectedLabel selectedItem deselect setButtonColo ...
-
... orld w= RedWindow("growth2", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0.1, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~ini ...
-
... world w= RedWindow("growth", Rect(128, 64, width, height)).front; w.background= Color.white; wgrav= RedVector2D[0, 0]; //world xy gravity world= RedWorld(RedVector2D[width, height], wgrav, 99, 0); //dim,grav,maxvel,damp //--interface ~initS ...
-
... tionList . Default value is nil. Customizing Appearance background background_ (color) The background color of the view. color - An instance of Color . focusColor focusColor_ (color) The background color of the view when it is focussed. col ...
-
... front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font(Font.defaultMonoFace, 24)); };
-
... eys to \\all first".postln } } { logAll = false } } makeLogWindow { arg bounds, color, action; var d; d = Document((envir.tryPerform(\name) ? "log").asString); d.bounds_(bounds ? Rect(10, 400, 600, 500)); d.background_(color ? Color.new255( ...