-
... 20), resizable: false, border: false) .alwaysOnTop_(true) .drawFunc_({ Pen.fillColor = Color.white; Pen.fillRect(tooltipWindow.bounds); }); StaticText(tooltipWindow, Rect(5, 2, text.size * 8 + 10, 16)) .string_(text) .align_(\left) .backgr ...
-
... e.write("CONTROL_" ++ this.index.asString ++ " "); file.write("[shape=trapezium,color="); file.write(this.rate.rateNumber.rateNumberToColor); file.write(",label=\"" ++ this.name.asString ++ ":"); file.write(this.defaultValue.asString); file ...
-
... .value); }); Button(w, Rect(200, 120 + (180*num), 100, 40)) .states_([ ["play", Color.black, Color.green], ["stop", Color.black, Color.red], ]) .action_({ var tdef = Tdef(instrument); if(tdef.isPlaying, {tdef.stop}, {tdef.play}); }); }); w. ...
-
... ing. Arguments: bounds a Rect that define window size and position background a Color . drawFunc . matrices . n Inherited instance methods Examples //--f is drawFunc, m is matrices, n is depth f= {Pen.fillRect(Rect.aboutPoint(Point(0, 0), 1 ...
-
... und ; doc = Document.listener.title_("Nim Chimpsky's Post Window") .background_(Color(0, 0, 0)) .stringColor_(Color(1, 1, 1)) .bounds_(Rect(50, 50, 300, 800)) ; multiField = GUI.textView.new(w, Rect(bound, step+(3*step*0.6)+(3*bound), inWid ...
-
... each point (in each corner). Must be called inside a draw function. Use Pen.fillColor_ to set the color. Arguments: dotSize The size of the oval. . drawOutlines Draws a line between each point (all edges). Must be called inside a draw funct ...
-
... Rect(0, 0, width * 0.5 - 6, numCitizens * 18)).resize_(5); listView.background_(Color.clear); listView.hiliteColor_(Color.green(alpha:0.6)); lifeComp = CompositeView(view, Rect(0, 0, width * 0.5 - 6, numCitizens * 18)).resize_(3); lifeComp. ...
-
... t = 0, currentZoom = 1; var <>passiveModeName = \______passive; var <>backgroundColor, <>foregroundColor, <>activatedColor, <>deactivatedColor, <>emphasisFillColor, <>passiveModeColor; var <>font, <>zoomRatio = 1.1, <>scrollRatio = 0.125, < ...
-
... n; }); SCButton(win,40@15) .font_(Font("Helvetica", 9)) .states_([["On"],["On", Color.black, Color.red(alpha:0.2)]]) .action_({|val| if ( val.value == 0, { fxOn = false; nodeLabel.string = "none"; if(this.canReleaseSynth) {synth.release} {s ...
-
... 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 ...