-
... this when using WsLayout. Arguments: wsWindow An instance of WsWindow bounds A Rect specifying the size of the widget. NOTE: Currently a relative measurement is used: 1 for full window width, 1 for full window height, e.g. Rect(0, 0, 1, 1) ...
-
... Window.closeAll; FreqScope.new; win = Window.new("Amplitude Modulation", Rect(20, 400, 610, 280)); win.onClose = {s.freeAll; Window.closeAll; "Amplitude Modulation window closed.".postln; "".postln}; win.front; win.background = ...
-
... data }).play(s,[\out, 0, \bufnum, b.bufnum]); ) a.redraw x = SCWindow.new("aa", Rect(100,100, 600, 200)).front; b = Buffer.read(s,"sounds/a11wlk01.wav"); // 1 channel a = XiiBufferPlot.new(b, x, Rect( 100,10, 490, 170)) t = Task({20.do({a.r ...
-
... = true; htmlstring = "<html>\n<body>\n"; win = Window.new("ixi img converter", Rect(0, 600, 320, 290), resizable: false); listview = ListView.new(win, Rect(10,10, 300, 240)) .items_(files) .hiliteColor_(Color.white) //Color.new255(155, 205 ...
-
... 0).round.asInteger; try { NTMI.mfx.win.close }; NTMI.mfx.win = Window('mainFX', Rect(0,0, 520, min(800, NTMI.g.bounds.height - 20)); ).front; NTMI.mfx.win.addFlowLayout; // ////// ******* SKETCH FOR PXPRESETGUI ********* // NTMI.mfx.pcnum = ...
-
... ; a = Ppoisson(1.0, inf); c = a.asStream.nextN(500); w = Window.new("Ppoisson", Rect(10, 10, 540, 800)); // plot the values c.plot(bounds: Rect(10, 10, 520, 380), discrete: true, parent: w); // a histogram of the values c.histo(500).plot(bo ...
-
... ; // Main window Window.closeAll; win = Window.new("Ring Modulation", Rect(20, 400, 610, 280)); win.onClose = {s.freeAll; Window.closeAll; "Ring Modulation window closed.".postln; "".postln}; win.background = Color.yellow(0.8) ...
-
... , hideTooltip; // Crear la ventana principal window = Window.new("Test Window", Rect(100, 100, 300, 100)) .front .acceptsMouseOver_(true); // Asegurar que la ventana acepta eventos mouseOver // Función para mostrar el tooltip showTooltip = ...
-
... ab(this); }); track.tab = this; tab.focus; tab.flow({|w| textView = TextView(w, Rect(10, 10, 840, 460)) .font_(Colliding.textFont) .keyDownAction_{|v, c, m, u, k| control.tabKeyDown(this, v, c, m, u, k); }; volumeSlider = Slider(w, Rect(800 ...
-
... { |parent, bounds| // UserView can focus; CompositeView can't bounds = bounds.asRect; innerBounds = bounds.insetBy(1, 1).moveTo(1, 1); background = Color.white; this.view = UserView(parent, bounds).background_(Color.black).canFocus_(true) . ...