-
... bounds); if( GUI.id !== \swing) { q.labelColors_([Color.white.alpha_(0.3)]); q.backgrounds_([Color.white.alpha_(0.3)]); }{ q.labelColors_([Color(0.9,0.9,0.9)]); q.backgrounds_([Color(0.9,0.9,0.9)]); q.unfocusedColors_([Color(0.8,0.8,0.8)]) ...
-
... , Rect (0,0,75,20)).value_(i / q) }); w.front ) // show the area of the view. v.background_( Color .rand) // The sliders automatically expand to the optimal width // Stretching the layout view. Slider height is fixed. ( q = 10; w = Window . ...
-
... Rect(0, 0, 75, 20)).value_(i / q) }); w.front ) // show the area of the view. v.background_(Color.rand) // The sliders automatically expand to the optimal width ⧉ ✔ Stretching the layout view; Slider height is fixed: ( q = 10; w = Window.ne ...
-
... symbols to denote color roles, and their meanings. Role Meaning 'window' Window background. Views may also use this role, for example to derive the color of their border. It is also the background of StaticText. 'windowText' Text on top of ...
-
TestSCHLayoutView : UnitTest { test_elasticBackground { var q,w,h; q = 10; w = Window.new("background should be elastic when you resize the window"); h = HLayoutView(w,Rect(0,0,300,300)); h.background = Color.red(alpha:0.1); h.resize = 5; / ...
-
... w,f, indent=0; var oldColor,x; f.startRow; GUI.staticText.new(f,(25*indent)@17).background_(Color.clear); if(view.respondsTo(\background),{ if(view.isKindOf(SCViewHolder),{ oldColor = view.background; },{ oldColor = view.background; }); But ...
-
... aying ? false,{ this.stop; },{ this.play; }); action.value(this); } stop { this.background_(Color.new255(228,255,107)); if(player.notNil,{player.stop }); } play { player = subject.loadDocument; this.background_(Color.new255(255, 215, 0)); p ...
-
... Skin( RoundView.skin ); this.applySkin( RoundView.skin ); } setColors{arg stringBackground, stringColor, sliderColor, numBackground,numStringColor, numNormalColor, numTypingColor, knobColor,background, hiliteColor ; stringBackground.notNil. ...
-
... x, x * ratio, 600 - (2*x), 600 - (2*x))}); lastView = SCScrollView(lastView,b) .background_(Color(x/299,x/299,x/299)) .relativeOrigin_(relativeOrigin); views = views.add(lastView); lastx = x; x = x + 12; }; w.front; views }); // bounds of e ...
-
... boxes as an array w = Window ( "-303" , Rect (128, 64, 510, 320)); w.view.background = Color .white; w.front; ~layoutLeft = CompositeView (w, Rect (0, 0, 400, 320)); // make the left pane of the window ~layoutLeft.decorator = ...