-
... }; output; }; } 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: Co ...
-
... inly for testing. Arguments: bounds a Rect that define window size and position background a Color . plot Creates a Window and an Image . Also mainly for testing. Arguments: width in pixels height in pixels . drawFunc . matrices . n . skip ...
-
... y in the view's scale. ticks - An Integer >= 0. ( w = Window .new.front; w.view.background = Color.black; a = SCLevelIndicator (w, Rect (10, 10, 300, 30)); a.numTicks = 11; a.value = 0.5; ) numMajorTicks_ (ticks) The number of ticks in the ...
-
... ter ( \CIMaskToAlpha )]); // grayscale + invert + maskToAlpha = create a mask g.backgroundImage_(a); // set up background image b.applyFilters(g); // create masked image a.free; w = b.plot(freeOnClose: true , background: Color .clear); // s ...
-
... nstance = SCMSliderView(); class = class.asString(); newInstance.numberBoxView .background_(Color.white.alpha_(0.5)) .maxWidth_(60).minWidth_(60); ^newInstance; } }
-
... set by setTheme will be used for syntax colorization. If you want to change the background color for the document window and selected text, in order to make them fit with your syntax colorization theme, see the help for the "background" and ...
-
... ll; win = Window.new("", Window.screenBounds, false, false).front; win.view.background_(Color.gray(0.1)); win.view.keyDownAction_({ arg view, char, mod, uni; //esc to abort & close window if(uni == 27, {~animate.stop;~mainR ...
-
... r the extra buttons etc var butzone = CompositeView(win, Rect(160, 0, 750, 25)).background_(Color.rand); // a userview to draw the numeric values on var uv = UserView(win, vbounds.top_(vbounds.height).height_(30)) .background_(Color.grey); ...
-
... name)); thisEditor = allEditors[name]; if(Quarks.isInstalled("wslib"), { window.background_(Color.white) }); labelColors = [ Color(1.0, 0.3), //specs Color.red, //midi Color(0.0, 0.5, 0.5), //osc Color(0.32, 0.67, 0.76), //actions ]; labelS ...
-
... states.collect({ arg st; st.put(0,string.asString); st }); } // assumes 1 state background_ { arg color; var s; s = view.states; s.at(0).put(2,color); view.states = s; view.refresh; } background { ^view.states[0][2] } labelColor_ { arg colo ...