-
... var usr= UserView(win, Rect(0, 0, width, height)); var physics; usr.background= Color.red; physics= TraerParticleSystem(0, 0, 0, 0.1); usr.mouseDownAction= {|v, x, y| var p= physics.makeParticle(1.0.rrand(20), x, y, 0); p.age= maxBorneAge.r ...
-
... Button(pa,Rect(wi-he,he*(dr+row),he,he)+Rect(2,2,-4,-4)) .states_([["?",Color.white,Color.blue]]) .mouseEnterAction_{ hv.string=msg; } .mouseLeaveAction_{ hv.string=""; }; }; pa = View(parent,bounds); ...
-
... yText.new( w, w.view.bounds.insetBy( 20, 20 )).string_( "schoko" ).background_( Color .red ); w.front; ) If you intend to add extensions from within your own classes upon class library initialization time, the preferred way is to do this in ...
-
... 'umpahTuba' ]) //--polling state of the menu in use - example also show custom color/font settings ( var w= Window ( "popuptreemenu - state" , Rect (400, 400, 300, 100)).front; a= PopUpTreeMenu .new(w, Rect (10, 20, 200, 34)) .tree_(( 'aaa ...
-
... ( \myIP ) }) { ip = NetAddr.myIP; } { ip = s.addr.ip; }; composite.background = Color.gray(0.5).alpha_(0.2); StaticText(composite, Rect( 22, 2, 200,16 ) ) .font_( font.boldVariant ) .toolTip_( "LoadBalancer %, % Servers\n\n".format( s.name, ...
-
... Learn midiSrc midiChan midiCtrl oscEditBut calibBut actionsBut background stringColor Inherited instance methods Examples Classes (extension) | GUI | Conductor | External Control > MIDI'>MIDI | External Control > OSC'>OSC CVWidget2D Extensi ...
-
... m in to see values a bit better sv.fill = false; // discern different values by color: red is RunningSum2 sv.waveColors = [Color.yellow, Color.red]; ) /* change window size */ ~msum.set(\samps, 4410 * 2); // 2x RunningSum window size ~msum. ...
-
... ; leftTopV = HLayoutView(zone, Rect(0, 0, zone.bounds.width, 240)) .background_(Color.green.alpha_(0.2)); leftButtonV = VLayoutView(leftTopV, Rect(0, 0, zone.bounds.width * 0.375, 240) ); rightButtonV = VLayoutView(leftTopV, Rect(0, 0, zone ...
-
... ; leftTopV = HLayoutView(zone, Rect(0, 0, zone.bounds.width, 240)) .background_(Color.green.alpha_(0.2)); leftButtonV = VLayoutView(leftTopV, Rect(0, 0, zone.bounds.width * 0.375, 240) ); rightButtonV = VLayoutView(leftTopV, Rect(0, 0, zone ...
-
... on on the previous value. */ // JITView can be hilited with a custom string and color, // e.g. to show a mapping to a control source j.hilite("sl1"); j.nohilite; // customize hilite font and color j.putDict(\hiFontCol, Color.magenta(1.0, 0. ...