-
... e displayed (except in the case of some primitive failure errors). Example: f = FlowView .new; z = StatusBox (f, 250@250); StatusBox .default === z // true; the first StatusBox you create is automatically the default "Hello world" .postln; ...
-
... ; mainView.isNil.if({ // if this gui is already open, don't recreate mainView = FlowView(layout, argBounds ?? { Rect(0, 0, 700, 300) }, margin: 2@2); seqMenu = GUI.popUpMenu.new(mainView, Rect(0, 0, 120, 20)) .items_(model.menuItems) //.ali ...
-
... ; mainView.isNil.if({ // if this gui is already open, don't recreate mainView = FlowView(layout, argBounds ?? { Rect(0, 0, 700, 300) }, margin: 2@2); seqMenu = GUI.popUpMenu.new(mainView, Rect(0, 0, 120, 20)) .items_(model.menuItems) //.ali ...
-
... il.if({ default = this }); masterLayout = master ?? { iMadeMasterLayout = true; FlowView.new }; // note, if you give bounds that are too small, you will be unhappy layout = FlowView(masterLayout, bounds ?? { Rect(0, 0, 290, 310) }, margin: ...
-
... il.if({ default = this }); masterLayout = master ?? { iMadeMasterLayout = true; FlowView.new }; // note, if you give bounds that are too small, you will be unhappy layout = FlowView(masterLayout, bounds ?? { Rect(0, 0, 290, 310) }, margin: ...
-
... a = { LFNoise1 .kr(0.1, 0.5, 0.5) }.play(s, b); KrBusWatcher .register(b); f = FlowView .new; x = GUI .slider.new(f, Rect (0, 0, 100, 15)); u = Updater (b, { |bus, val| { x.value_(val[0]); }.defer; }); ) ( KrBusWatcher .unregister(b); u.re ...
-
... a = { LFNoise1 .kr(0.1, 0.5, 0.5) }.play(s, b); KrBusWatcher .register(b); f = FlowView .new; x = GUI .slider.new(f, Rect (0, 0, 100, 15)); u = Updater (b, { |bus, val| { x.value_(val[0]); }.defer; }); ) ( KrBusWatcher .unregister(b); u.re ...
-
... only make views if we don't already have them name = n ? name ? ""; mainFlow = FlowView(lay, Rect.new(0, 0, width, height), margin: 2@2); tempoFlow = FlowView(mainFlow, Rect(0, 0, 350, height), margin: 2@2); namev = GUI.staticText.new(temp ...
-
... only make views if we don't already have them name = n ? name ? ""; mainFlow = FlowView(lay, Rect.new(0, 0, width, height), margin: 2@2); tempoFlow = FlowView(mainFlow, Rect(0, 0, 350, height), margin: 2@2); namev = GUI.staticText.new(temp ...
-
... dth.asFloat / busses.size; meterHeight = bounds.height; }); parent = parent ?? {FlowView(nil,bounds ?? {Rect(0,0,busses.size * (meterWidth + 4),meterHeight + 20)})}; busses.do { arg b,i; parent.comp({ arg v; this.makePeak(i,v,Rect(0,0,meter ...