-
... ndow("Control Panel", Rect.new(470,300,502,235),resizable:true, border:true) .background_(Color.grey(0.05)).front .alwaysOnTop = true; w.view.decorator_(FlowLayout(w.bounds,4@4, 4@4)); ~topPanel = UserView(w, 494@45).background_(C ...
-
... g.setColors( Color .grey, Color .white); ) Changing Appearance setColors(stringBackground,stringColor,listBackground,listStringColor, selectedStringColor,hiliteColor,background) stringBackground - An instance of Color . The background of t ...
-
... }; a = 15.collect{ var c = CompositeView(view,80@80); Slider2D( c,80@80 ).background_( Color.rand ).resize_(5); c }; }; w.front; w.bounds = Rect(w.bounds.left, w.bounds.top,z.used.width,z.used.height) ) // or individu ...
-
... ; view.onClose_({ SyncCenter.ready.removeDependant(this); }); } update { { view.background_( if( SyncCenter.ready.value ) { green } { red } ) }.defer } remove{ SyncCenter.ready.removeDependant(this); } } SyncCenterServerWidget{ var <control ...
-
... ; view.onClose_({ SyncCenter.ready.removeDependant(this); }); } update { { view.background_( if( SyncCenter.ready.value ) { green } { red } ) }.defer } remove{ SyncCenter.ready.removeDependant(this); } } SyncCenterServerWidget{ var <control ...
-
... 1; nameG = ActionButton(layout,"load file...",{ this.loadDialog },minWidth:140).background_(Color.white); ActionButton(layout,"query buffer",{ if(model.buffer.notNil,{ model.buffer.query; },{ "Sample buffer not loaded".inform; }) }); CXLabe ...
-
... nameG = ActionButton(layout, "load file...", { this.loadDialog }, minWidth:140).background_(Color.white); ActionButton(layout, "query buffer", { if(model.buffer.notNil, { model.buffer.query; }, { "Sample buffer not loaded".inform; }) }); CX ...
-
... h_slider.refresh; sv_slider.refresh; }; // Hue Slider setup h_slider.background_( Color.black ); h_slider.drawFunc_( { | view | Pen.width = 1; ( view.bounds.height - ( margin * 2 ) ).do( { | index | Pen.strokeColor_( ...
-
... demo", Rect(50, 50, 610, 640), false); w.front; windowColor = Color.white; w.background = windowColor; x = CompositeView.new(w, Rect(10, 10, 500, 200)).background_(windowColor); y = CompositeView.new(w, Rect(10, 220, 500, 200)).backg ...
-
... }; output; }; } applySmoothSkin { this.applySkin( ( extrude: false, border: 0, background: Color.white.alpha_(0.5), typingColor: Color.red(0.5).alpha_(0.75) ) ); } applyRoundSkin { this.applySkin( ( extrude: true, border: 2, background: Co ...