-
... Defaults { object = object ?? { this.defaultObject }; } setViewProperties { gridColor = gridColor ?? { Color.gray(0.8).alpha_(0.33) }; view .move_( [0.5,0.5] ) .scale_( [10,10] ) .maxZoom_( 40 ) .keepRatio_( true ) .resize_(5) .gridLines_( ...
-
... * 0.5) @ (bnds.height - size), size2, size); ).front; q.inph.ioWin.background_(Color.grey(0.8)); q.inph.ioWin.alpha_(NTMI.g.alpha); infComp = CompositeView(w, (size2@size2) .asRect); // infComp.bounds.postln; infComp.resize_(4); infComp.ad ...
-
... faultSansFace, 11 ) }; view.addFlowLayout(marginH@marginV); //view.background_( Color.white ); view.resize_(8); views[\prepare] = WaitView( view, size@size ) .alphaWhenStopped_( 0 ) .canFocus_(false); views[\play] = SmoothButton( view, 40@s ...
-
... of Canvas3DItem Global settings and transforms . background Set the background color. Arguments: b A Color . scale Get/set the global pixel scale. . perspective Get/set the perspective factor. Useful range is 0.0 (no perspective) to below ...
-
ToggleSwitch: Filter: Description Class methods new newSquare defaultOnColor defaultOffColor Inherited class methods Instance methods value valueAction border borderColor knobInset label label2 labelColor onColor offColor borderColor radius ...
-
MHexPad : MPadView { var <>hexColor, <>ledColors, <ledVal = 0, <angle = 0.5pi; var <upDoesAction = true; *initClass { Class.initClassTree(MPadView); modes.put(\noteOnLed, [true, false, true, inf]); } setColors { baseColor = Color.clear; hex ...
-
... newIntervalBoxes = (); StaticText(compSCT, Rect(0, 0, boxwidth * 2, 16)) .stringColor_(Color.grey) .string = " virtual working scale:"; newScaleFreqs.collect {|freq, i| newFqNumBoxes[i] = StaticText(compSCT, Rect(0, 0, boxwidth + 26, 16)) . ...
-
... erCanClose_(false); Button(win, Rect(10, 15, 85, 20)) .states_ ([ ["New Inst.", Color.black, Color(0.5, 0.7, 0.5)], ]) .action_ ({ this.prShowNewInstDialog; }); aliveMenu = PopUpMenu(win, Rect(100, 15, 200, 20)) .action_({|menu| alivePlugs[ ...
-
... ange; rect = Rect(left, top, size, size); pulseLevel = SGME_Knob(parent, rect) .color_([blue, black, white, nil]) .mode_(\round) .step_(step); viewSizes = viewSizes.add([pulseLevel, rect]); left = left + spacing; rect = Rect(left, top, size ...
-
... SoundScratcher { var <>xiigui, <>win, params; var moveAction; var bounds; var bgcolor, fillmode, pointcolor, linecolor, strokecolor, pointsize, pointsizelist; var state; var pointlist, lastpoint; var recPathList; var tabletView, soundfile, ...