-
... bounds| var center = bounds.extent * 0.5; zone = CompositeView(parent, bounds) .background_(Color.grey(0.8, 0.5)); skin = GUI.skins.jit; nameView = StaticText(zone, Rect.aboutPoint(center, 30, 10)) // .string_(el.name) .align_(\center); but ...
-
... bounds| var center = bounds.extent * 0.5; zone = CompositeView(parent, bounds) .background_(Color.grey(0.8, 0.5)); skin = GUI.skins.jit; nameView = StaticText(zone, Rect.aboutPoint(center, 30, 10)) // .string_(el.name) .align_(\center); but ...
-
... c); a.drawMethod = \fillRect ; a.symbolSize = 3; a.symbolColor = Color .blue; a.background = Color .black; // Y Slider GUI .slider.new(w, Rect (10, 470, 450, 10)).action_{ |me| a.rotY = me.value * 2pi; a.refresh; }; // X Slider GUI .slider. ...
-
... zable: false); window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fromHexString("#282828")); window.onClose = { this.clear; }; } setCmdPeriodActions { CmdPeriod.add({ AppClock.sched(0.1, { this.cmdPeriodActio ...
-
... tKeys.do { |key, i| if (replaceKeys[key].notNil) { // key.postln; paramViews[i].background_(Color.green); } { paramViews[i].background_(skin.background); } } } // compat with pre-3.8 only updateSliderSpecs { |editKeys| var currState; if (ob ...
-
... nt; }; comp = comp ?? { comp = CompositeView(parent, Rect(0,0, width, height)) .background_(Color.gray(0.9)); comp.decorator = FlowLayout(comp.bounds, gap, gap); comp; }; if (top) { this.topLine(comp) }; this.makeBoxes(comp); if (slide) { t ...
-
... borderColor secondBorderColor thirdBorderColor mainColor secondColor backColor backgroundColor outlineSize outlineColor beatColor disabledColor selectedColor selectedColor font fontColor fontColorDisabled valueFontColor highlightColor Inte ...
-
... ,700,300)); //c.relativeOrigin = true; c = FlowView(w,Rect(100,100,700,300)); c.background = Color.blue; y = Sample("a11wlk01.wav").gui(c); w.front; v = y.view.view.children.select(_.isKindOf(SCSoundFileView)).first; this.assert( c.absolute ...
-
... zable: false); window.view.decorator = FlowLayout( window.view.bounds ); window.background_(Color.fromHexString("#282828")); window.onClose = { this.clear; }; } setCmdPeriodActions { cmdPeriodActionAdded.not.if({ CmdPeriod.add({ AppClock.sc ...
-
... ndow("Diamond Slider", Rect(0, 0, window_size[0], window_size[1]), false); win.background_( Color.black ); slider = UserView( win, Rect( margin, margin, window_size[0] - (margin*2), window_size[1] - (margin*2))); synth = {arg freq=11 ...