-
... 4, 450)); u = UserView(w, Rect(2, 2, viewWidth, 400)).front; u.background = Color.gray(0.1); indexSl = EZSlider(w, Rect(2, u.bounds.bottom + 2, viewWidth, 20), "Grain index", [0, 7, \lin, 1, 0], { |view| if(view.value != lin ...
-
... Button { |parent, bounds| Button(parent, bounds) .states_([[butname], [butname, Color.white, Color.green]]) .action_({ |btn| if (btn.value == 1) { this.play } { this.stop } }); } } AutoRand /*: AutoMod */{ var <ctl, <spec, <>rd, <>exp, <>dt ...
-
... idth, height), false); u= UserView(w, Rect(0, 0, width, height)); u.background= Color.black; a= RedPerlin.new; u.drawFunc= { Pen.strokeColor= Color.white; width.do{|x| Pen.addRect(Rect.aboutPoint(Point(x, a.noise1D(x/width, persistance, oct ...
-
... Pen.lineTo(Point(x * playX1, (1-playY1) * y)); Pen.width = 1.4 * fac; Pen.strokeColor = Color.black; Pen.stroke; }; iconViewGroup[1].drawFunc = { var playX2 = 0.43, playY2 = 0.2, fac = 1, x = iconViewGroup[1].bounds.width, y = iconViewGroup ...
-
... = 1; style_ (val) Sets the style of the view val - An Integer from 0 to 3. 0 = colored bar; 1 = graduated black lines; 2 = LED style (see numSteps_ ); 3 = LED style with custom image (see image_ ). ( w = Window .new.front; w.addFlowLayout; ...
-
... ode=2pi| sin((i/n)*periode) }; var lastValues = { 0 }.dup(n); uv.background = Color.black; uv.animate = true; uv.frameRate = 120; uv.drawFunc = { |uv| var values = Array.fill(n, { |i| sinFunc.((i-1) + (uv.frame/100), uv.frame.linexp( ...
-
... tate" b.string_("string"); b.font_(Font.new(\Georgia).size_(24)); b.background_(Color.green); b.stringColor_(Color.red); b.action_({"bu1".postln}); //just a function b.remove; //init only, send to page later b = WsSimpleButton.init(a, nil); ...
-
... nds relative to channel origin <>numPresendsShow = 1, <>numPostsendsShow = 1, <>color1, <>color2, <>clearColor; *initClass { Class.initClassTree(MixerChannelDef); StartUp.add { // generic mixer gui definition (vertical) MixerChannelGUI.defa ...
-
... t_(sizes[\mid] + (8@8))); zone.decorator.gap_(4@4); zone.resize_(1).background_(Color.grey(0.7)); arZone = CompositeView(zone, Rect(0, 0, arZoneWidth, sizes[\mid].y )) .background_(skin.foreground); arZone.addFlowLayout(skin.margin, skin.ga ...
-
... lrs; var midiOrder, orderedMidiCtrlrs; var oscOrder, orderedOscCtrlrs; var labelColors, labelStringColors, tabView0, tabView1, flow0, flow1; var thisFocus, tmp; var staticTextFont = Font(Font.available("Arial") ? Font.defaultSansFace, 10); ...