-
... 400, 400, colors.size*(i_width+pad) + (2*pad), i_width+50)).front;\ window.view.background_( Color .black);\ window.drawHook = \\ var j;\ Pen .use \\ Pen .translate(10, 10);\ colors.do\ |color, i| \ color.set;\ // Pen.fillRect(Rect(pad/2, 0 ...
-
... ; document.close } *test0_NodeBox { var n; n = NB("test0_NodeBox", 400, 300); n.background(1, 0, 0); n.fill(0, 1, 0); n.oval(100, 64, 100, 200); n.fill(0, 0, 1); n.oval(200, 64, 100, 200); n.fill(1, 0.5, 1, 0.24); n.rect(100, 40, 200, 125); ...
-
... (0).margins_(0); parameterScrollView.canvas = scrollCanvas; parameterScrollView.background = Color.new(0.85, 0.85, 0.85); voiceCodeTextView.font = Font(Font.defaultMonoFace); voiceCodeTextView.editable = true; voiceCodeTextView.enterInterpr ...
-
... Val: 110, unitWidth: 30) .setColors( stringColor: Color.black, sliderBackground: Color.grey(0.9), numNormalColor: Color.black); // Volume slider volumeSlider = EZSlider( parent: win, bounds: 620 @ 40, label: "VO ...
-
... r usr= UserView(win, Rect(0, 0, width, height)); var physics, p, anchor, s; usr.background= Color.white; physics= TraerParticleSystem(gy:1, drag:0.05); p= physics.makeParticle(1, width/2, height/2, 0); anchor= physics.makeParticle(1, width/ ...
-
... r usr= UserView(win, Rect(0, 0, width, height)); var physics, p, anchor, s; usr.background= Color.white; physics= TraerParticleSystem(gy:1, drag:0.05); p= physics.makeParticle(1, width/2, height/2, 0); anchor= physics.makeParticle(1, width/ ...
-
... . Needed in order to access to parsing functionalities. alpha - alpha value for background transparency. Default value is 0.9. Can be useful in order not to mask completely the Painter. ( t = " // Evaluate the following lines as usual Serve ...
-
... po = 128/60; w = Window.new("buttontest",Rect(100,100,450,350)); w.view.background = Color(0.8,0.0,01); u = UserView(w, Rect(300, 200,100, 100)); u.background = Color.black; u.animate = true; pt = Point(); r = Rect(); //w. ...
-
... { |v| i.object = View.currentDrag.value; i.string = "click here for silence"; i.background_(Color.red) }; i.mouseDownAction_({ i.object.free; i.string = "I evaluate a (sound) function"; i.background_(Color.clear) }); StaticText(w, Rect(10, ...
-
... esponds. See View . Returns: [\bounds, \visible, \enabled, \canFocus, \resize, \background, \minWidth, \maxWidth, \minHeight, \maxHeight, \value, \font, \states, \focusColor] . defaultGetDrag The method called by default when initiating a d ...