-
... empView.isNil.if{ tempView = CompositeView.new(tabbedView.view, widget.bounds) .background_(labelColor.copy.alpha_(0.4)).visible_(false); }; // create a temporary view as a drag indicator. tempView.visible_(true); tempView.bounds_(tempView. ...
-
... empView.isNil.if{ tempView = CompositeView.new(tabbedView.view, widget.bounds) .background_(labelColor.copy.alpha_(0.4)).visible_(false); }; // create a temporary view as a drag indicator. tempView.visible_(true); tempView.bounds_(tempView. ...
-
... ( 2 ); cw.decorator = FlowLayout(Rect( xpos, ypos, xsize, ysize), 2@2, 2@2); cw.background = Color.white; decorator = cw.decorator; addrIP = GUI.staticText.new( cw, Rect( 0, 0, 100, 16 )).string_( client.addr.ip.asString ).font_( font ).ali ...
-
... w.skin ) .string_( ( \seconds: " s", \frames: " pt" )[ this.class.timeMode ] ) .background_( Color.white.alpha_( 0.25 ) ) .resize_( 3 ) .mouseDownAction_({ var actions, selected; actions = [ \seconds, \frames ].collect({ |item| MenuAction( ...
-
... olor, selcolortext *prColorCmds { cW.add(\color, [\str, \str], {|str1, str2| cW.background(Color.newName(str2);); }); cW.add(\colortext, [\str, \str], {|str1, str2| cW.fontColor(Color.newName(str2);); }); cW.add(\colors, [\str], {|str1| cW. ...
-
... ][ 0 ] = res; vws.setViews; vws.doAction; }); }) .applySkin( RoundView.skin ) .background_( Color.white.alpha_(0.25) ); vws[ \device ].setProperty(\wordWrap, false); vws[ \setViews ] = { { vws[ \device ].string = " device: %".format( vws[ ...
-
... ecorator = FlowLayout (w.view.bounds, 10@4, 10@4); h = StaticText (w, 300 @ 16).background_( Color .blue(0.2,0.1)); w.view.decorator.nextLine; k = Array .fill(8, { |item, i| var knob; knob = Knob .new(w, size @ size) // .canFocus_(false) .a ...
-
... drag on the slider too but it didn't work init: { |view| view.knobColor_(green).background_(sBkColor) }, spec: [0, 1] )) .add("/1/toggle%".format(~padString.(i+9, 2)).asSymbol).add(( bounds: Rect.fromPoints( origin + Point(gap + ~sliderWidt ...
-
... cs", Rect(0,0,400,400)).front; ~uv = UserView.new(~win, Rect(0,0,400,400)); ~uv.background = Color.white; // tell it what to draw: ~uv.drawFunc = { Pen.strokeRect(Rect(10,10,380,380)); }; ~uv.refresh; // now trigger drawing // strings ~uv.d ...
-
... s[i] = val; busMessage.(i, val); }; fullAction.(i, val); }).canFocus_( false ) .background_( Color.gray ).hilightColor_( Color.blue.alpha_(0.5) ); }); midiFunc = {arg src, chan, num, vel; var val; if(chan < nC) { val = num / maxMIDIVal; if( ...