-
... ; tagBox = StaticText(comp, Rect(0, 0, bounds.width - 30, bounds.height - 75)) .background_(Color(0.5, 0.9, 0.6).vary) .resize_(5) .font_(Font("Helvetica", 11)); skip = SkipJack({ this.updateString; }, 0.3, false, "MC"); tagBox.onClose = { ...
-
... s Examples Basic use ( w = Window.new; t = TabletView(w,Rect(40,40,300,300)); t.background = Color.white; w.acceptsMouseOver = true; w.front; f = { arg what, x, y, pressure, tiltx, tilty, deviceID, buttonNumber, clickCount, absoluteZ, rotat ...
-
... udes(uni)) { val = val + 1 }; if (upKeys.includes(uni)) { val = val + 2 }; drag.background_(colors[val]); [uni, val, colors[val]]; }; zone.refresh; } ///// make all the view elements: ////// makeViews { |options| zone.addFlowLayout; // use ...
-
... udes(uni)) { val = val + 1 }; if (upKeys.includes(uni)) { val = val + 2 }; drag.background_(colors[val]); [uni, val, colors[val]]; }; zone.refresh; } ///// make all the view elements: ////// makeViews { |options| zone.addFlowLayout; // use ...
-
... 400, 400, colors.size*(i_width+pad) + (2*pad), i_width+50)).front;\ window.view.background_( Color .black);\ window.drawHook = \\ \ Pen .use \\ Pen .translate(10, 10);\ colors.do\ |color, i| \ color.set;\ Pen .fillRect( Rect (pad/2, 0, i_wi ...
-
... ..]; }; flow.shift(0, 0); StaticText(window, cNameRect) .font_(staticTextFont) .background_(Color(1.0, 1.0, 1.0, 0.5)) .string_(nameStr) ; // flow.shift(2, 0); elem.cName = TextField(window, cNameEnterTextRect) .font_(textFieldFont) .string ...
-
... rg1 - A Function or FunctionList . Default value is nil. Customizing Appearance background background_ (color) The background color of the view. color - An instance of Color . focusColor focusColor_ (color) The background color of the view ...
-
... sr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0.3, 0.9); num.do{physics.makeParticle(1.5.rand+0.5, width.rand, height.rand, 0)}; anchor= physics ...
-
... sr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.2.rand2, 0.2.rand2, 0, 0.4); num.do{physics.makeParticle(1, width.rand, height.rand, 0)}; anchor= physics. ...
-
... sr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0.3, 0.9); num.do{physics.makeParticle(1.5.rand+0.5, width.rand, height.rand, 0)}; anchor= physics ...