-
... (true); d.u = UserView(d.w, Rect(0,0,400,400)); d.u.resize = 5; d.w.background_(Color.clear); d.u.addHalo(\ev, ()); d.u.drawFunc = { |u| var ev = u.getHalo(\ev); var scaleFactor = min(u.bounds.width / 400, u.bounds.height / 400); var font = ...
-
... n each frame var shift = 0 @ 1; //for creating snake food var foodpos, foodcolor, tryfoodpos; //gui var win, u, deadbox; //functions that handle snake crash and food generation var crash, makefood; Window.closeAll; makefo ...
-
... initClass { Class.initClassTree(this.superclass); styleDict.putAll(( \indexCol: Color.grey(0.0, 0.5), \indexFont: Font("Monaco", 12), \round: 0.0001, \shiftMode: \stop, \knobCol: Color.grey(0.0, 0.25), \knobCCol: Color.grey(1.0, 0.25), \gho ...
-
... }; } applySmoothSkin { this.applySkin( ( extrude: false, border: 0, background: Color.white.alpha_(0.5), typingColor: Color.red(0.5).alpha_(0.75) ) ); } applyRoundSkin { this.applySkin( ( extrude: true, border: 2, background: Color.white, t ...
-
... <>zoomCurve = 0; var resize = 1; var window; var currentBounds; var <sliderKnobColor, <sliderBackColor; var <sliderWidth = 12, <sliderSpacing = 2, <scaleSliderLength = 52; // defaults // these defaults should not be changed until after cre ...
-
... initClass { Class.initClassTree(this.superclass); styleDict.putAll(( \indexCol: Color.grey(0.0, 0.5), \indexFont: Font("Monaco", 12), \round: 0.0001, \shiftMode: \stop, \knobCol: Color.grey(0.0, 0.25), \knobCCol: Color.grey(1.0, 0.25), \gho ...
-
... ); //1= exaggerate, 2= standard Pen.translate(width*0.5, height*0.5); Pen.strokeColor= Color.white; line.drawOutlines; Pen.fillColor= Color.white; line.draw(10); //dotSize }; w.play; CmdPeriod.doOnce({w.close}); )
-
... ); //1= exaggerate, 2= standard Pen.translate(width*0.5, height*0.5); Pen.strokeColor= Color.white; line.drawOutlines; Pen.fillColor= Color.white; line.draw(10); //dotSize }; w.play; CmdPeriod.doOnce({w.close}); )
-
... }; } applySmoothSkin { this.applySkin( ( extrude: false, border: 0, background: Color.white.alpha_(0.5), typingColor: Color.red(0.5).alpha_(0.75) ) ); } applyRoundSkin { this.applySkin( ( extrude: true, border: 2, background: Color.white, t ...
-
... ; /// TODO : solve problem with empty scrollview var resize = 1; var <sliderKnobColor, <sliderBackColor; var <sliderWidth = 12, <sliderSpacing = 2, <scaleSliderLength = 52; // defaults var window; var <refreshFunc; var <hasHorizontalScrolle ...