-
... tates.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 col ...
-
... Filter(\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); // set ...
-
... mat(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font(Font.defaultMonoFace, 24)); };
-
... iew.value_(spec.unmap(value ?? { mixer.getControl(\pan) })); } clearView { view.background_(gui.guidef.clearColor); view.value_(0.5); } restoreView { ('SCView'.asClass.notNil and: { view.isKindOf(SCView) }).if({ view.background_(HiliteGradi ...
-
... mat(title)).front.alwaysOnTop_(true); var tv = StaticText(w, w.view.bounds); tv.background_(Color(1, 0.75)); tv.align_(\center); w.alpha_(0.9); tv.string_(string).font_(Font(Font.defaultMonoFace, 24)); };
-
... ert); ((j) > i).if({ ez.setColors(knobColors: idxKnobColors[j%2]); ez.setColors(background: bgColors [j%2]); }, { ez.setColors(knobColors: idxKnobColors[j%2 + 2]); ez.setColors(background: bgColors [j%2 + 2]); }); (i == j).if{ ez.knobView.c ...
-
... iew.value_(spec.unmap(value ?? { mixer.getControl(\pan) })); } clearView { view.background_(gui.guidef.clearColor); view.value_(0.5); } restoreView { ('SCView'.asClass.notNil and: { view.isKindOf(SCView) }).if({ view.background_(HiliteGradi ...
-
... Rect(100, 100, 200, 200); p = Plotter("name", b, parent: w); p.interactionView.background = Color.black; p.setValue([0,1,0,1]); this.assertEquals(p.interactionView.bounds,b,"interactionView should be placed on the supplied bounds") } }
-
... nherited class methods Instance Methods Changing Appearance . setColors ( stringBackground , stringColor , listBackground , listStringColor , selectedStringColor , hiliteColor , background ) Arguments: stringBackground An instance of Color ...
-
... ault to a file.\ \ (\ n = NB ( "xample1" , 400, 300, true , "mov" , 5, 10); \ n.background(0.1, 0, 1);\ n.fill(0.84, 1, 1); \ n.oval(100, 64, 100, 200); \ n.fill(0, 0, 1);\ n.oval(200, 64, 100, 200);\ n.fill(1, 0.5, 1, 0.84);\ n.skew(33.04) ...