-
... skippy, comp; w = Window("Scale Graph", Rect(100, 0, 1300, 800)).front; w.view.background_(Color.black); instNames = VGTuning.mulTrees[scale].branches.keys.asArray.sort; comp = CompositeView(w, Rect(0,0,80,800)) .background_(Color.grey(0.1 ...
-
... ndex; }); if(lastScope.notNil, { lastScope.labelColor = Color.yellow; lastScope.background = Color.black; lastScope.refresh; }); ab.background = Color.red; ab.labelColor = Color.black; ab.refresh; lastScope = ab; }); if(chan === model.maste ...
-
... test2.py" there? (then we have complete success). ( NB ( "test2" , 320, 240); n.background(1, 1, 1); n.fill(1, 0, 0); n.rect(10, 10, 100, 100); n.fill(0, 0, 0); n.text( "I am the 2nd test" , 10, 140); n.displayCode ) /* ----- ----- ----- */ ...
-
... d2 } ! 20 ] ) */ MultiPlot { *new { |arrays, width = 600, height = 400, colors, background, hLinesAt, vLinesAt, linesAlpha = 0.5, discrete = false, min, max| var win; win = Window.new("MultiPlot", Rect(100,100,width,height)); win.drawHook = ...
-
... t_(Font(options.font.name, 12)).stringColor_(Color.white); infoDisplayTextField.background_(Color.fromHexString("#303030")); // 323232 } createLargeCueNumberDisplay {var width, height; width = options.largeDisplayBounds.width; height = opti ...
-
... var <keyString, <>step=1, <>scroll_step=1; var <typingColor, <normalColor; var <background; var <>clipLo = -inf, <>clipHi = inf, hit, startHit, inc=1.0, <>scroll=true; //, <>shift_step=0.1, <>ctrl_step=10; var <>wrap = false; var <>shift_sc ...
-
... ome).clear}); }; metronomeVolume = Slider(window, Rect(width: 82, height: 20) ).background_(Color.fromHexString("#A0A0A0")); spec_Metro = ControlSpec(minval: 0, maxval: 0.5); metronomeVolume.value = spec_Metro.unmap(metro_Vol); metronomeVol ...
-
... View.xfMargins); // view holding all elements in the xForm panel view = View() .background_(Color.hsv( *sfView.ctlColor.asHSV.put(0, (sfView.ctlColor.asHSV[0] + (initChainDex * sfView.colorStep)).fold(0, 1))) ) // .fixedHeight_(80) .maxHeig ...
-
... 0; iterations= iterations+1; }); ^iterations; } plot {|zoom, bounds, colorFunc, background, interpolation= \smooth| var z= zoom ?? {Rect(-2.5, -1, 3.5, 2)}; var b= bounds ?? {Rect(100, 200, width, height)}; var win= Window(this.class.name, ...
-
... SCSlider ( w, Rect .rand( 380, 380, 100, 100 ) ).value_( 1.0.rand ); }); w.view.background = Color .blue(0.8).alpha_(0.25); ) w.asCode; /* result: w = GUI.window.new("test-asCode", Rect(128, 64, 400, 400) ).front; w.view.background_(Color(0 ...