-
... " ++ ez).postln}, // action [1, 2, 3], // initValue true // initAction ); g.setColors( Color .grey, Color .white); ); // Simplest version, no parent view, so a window is created ( g= EZText (label: " test " ); g.action_({ |ez| (ez.value.as ...
-
... 2250))}.spectrogram; { Saw .ar( MouseX .kr(1, 1000))}.spectrogram; *start *stop color_ (argcolor) The color that is drawn. background_ (argcolor) The background color. crosshairColor_ (argcolor) The color of the frequency info crosshair cur ...
-
... tClass Instance methods Data items clear value valueAction selection Appearance colors stringColor selectedStringColor hiliteColor Interaction selectionMode Actions action selectionAction enterKeyAction defaultKeyDownAction Drag and drop de ...
-
... y, colour| this.reset; prHighlighted = x@y; patches[x][y].background = colour ? Color.red; } monitorBus { |bus, rate=24, colour| rate = rate.reciprocal; ^Task{ loop{ rate.wait; bus.getn(2, {|vals| {this.highlight(vals[0], vals[1], colour)}. ...
-
... tUndoRedoButtons{ views[\redo] .enabled_(this.scoreEditor.redoSize != 0) .stringColor_( Color.gray( [0.5,0][ UScoreEditor.enableUndo.binaryValue ] ) ); views[\undo] .enabled_(this.scoreEditor.undoSize != 0) .stringColor_( Color.gray( [0.5,0 ...
-
... .ifRunning({ true }, { false }) }; } makeView { arg w, useRoundButton = true, onColor; var active, booter, killer, makeDefault, running, booting, bundling, stopped; var recorder, scoper; var countsViews, ctlr; var dumping=false; var infoStr ...
-
... tActions, rSliderClass, slider2DClass; var tmpWin; background ?? { background = Color.white }; stringColor ?? { stringColor = Color.black }; synchKeys ?? { synchKeys = [\default] }; setupArgs !? { (setupArgs.class !== Event).if{ Error( "a s ...
-
... x*length)}; penClass.stroke; } makeWindow {|name, bounds, scale= 1, background, color, width= 1| var win, usr, w, h, centerX, centerY; name= name ?? {"fingerprint"+points.size+"points"}; bounds= bounds ?? {Rect(128, 64, 300, 300)}; w= bound ...
-
... pos = 0; var value = 0, latestValue = 0, <>updated = false; var <>routine; var <color; var <>active = false; var <>interval = 1; init { |parent, bounds| super.init( parent, bounds ); history = Array.fill( this.bounds.asRect.width, 0); } dra ...
-
... er = 2, <>moveWhenPressed = 1; var <extrude = true; var <inverse = false; var bgColor, <stringColor, <hiliteColor, <borderColor; var <>disabledColor; // hiliteColor = color of second state if not provided var <>textOffset; // not used anymo ...