-
... kCount == 2, {this.editSpec}); } }; this.prSetViewParams; } setColors{arg stringBackground,stringColor,sliderBackground,numBackground, numStringColor,numNormalColor,numTypingColor,knobColor,background; stringBackground.notNil.if{ labelView. ...
-
... 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)]) ...
-
... 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)]) ...
-
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 ...
-
... lass.lineTo(x*length)}; penClass.stroke; } makeWindow {|name, bounds, scale= 1, background, color, width= 1| var win, usr, w, h, centerX, centerY; name= name ?? {"fingerprint"+points.size+"points"}; bounds= bounds ?? {Rect(128, 64, 300, 300 ...
-
... er, { |val, view| view.value = val }); comp = CompositeView(parent, bounds); //.background_(colPal[1]); comp.decorator = FlowLayout(comp.bounds); Button(comp, Rect(0,0, viewWidth, 20)) .font_(font) .states_([[title, Color.black, colPal[0]]] ...