-
... Nodes[out] = curNode; Pen.color = Color.white; Pen.moveTo(curNode); Pen.addOval(Rect.aboutPoint(curNode, nodeSize, nodeSize)); Pen.moveTo(curNode); if(name != '?') { Pen.stringAtPoint(name, curNode, Font.sansSerif(nodeSize)) }; Pen.moveTo(c ...
-
... ListPlayer "}, gui: { arg layout; var l; l = layout ?? {PageLayout(~name.value, Rect(0, 0, 500, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) }, timeGui: { arg layout, bounds, maxTime; ~elpGui = ~source.guiClass.new(~source); ...
-
... eysDo{|key| this[key] = 0} } *gui { ^global.gui } gui { var w, list, listview, wrect, metadataview, mdv_updater, startButton, aSynth, cmdPeriodFunc; Server.default.waitForBoot{ this.memStore; w = GUI.window.new("<SynthDefPool>", Rect(0, 0, ...
-
... { |updater,length,nc=1,dt=0.1,skip=1| plotter = Plotter.new( "Plotter Monitor", Rect(600, 30, 800, 250) ); plotter.value_( updater.value ); // temporary workaround! plotter.superpose_( true ); monitor = SWDataMonitor.new( updater,length,{ | ...
-
... = 0; var win, sliders, numbers; ~maxuV= 1000; win= Window("gui example simple", Rect(100, 100, 80*board.numChannels, 240)).front; sliders= {Slider().canFocus_(false)}.dup(board.numChannels); numbers= {NumberBox().canFocus_(false)}.dup(board ...
-
... first = first ? b; } }); if(first.notNil,{ first.focus }); }); },"Class search",Rect(500,800,500,500)) },Rect(500,800,100,100)) }); Library.put(\menuItems,\introspection,\methodfinder,{ Sheet.getString("Search methods...","",{ arg string; S ...
-
... bounds(RedFont.new).width; win= Window( "redMatrixMixer nIn"++nIn+"nOut"++nOut, Rect( position.x, position.y, (RedGUICVMultiSliderView.defaultWidth+4*nOut+8+sw).max(280), RedGUICVMultiSliderView.defaultHeight*nIn+14+14+46 ), false ); win.fr ...
-
... Pad, { |uv| var main = NTMI.g.main; var width = 666, height = 666; var bounds = Rect(0,0,width, height); var center = bounds.center; var myscaleW = uv.bounds.width / 666; var myscaleH = uv.bounds.height / 666; var padCenters, toCenter = 0.0 ...
-
... ; }); }); }); //create window win = Window("Comma separated \"in,out\" pairs:", Rect(400, 400, 300, 50)); field = TextField(win, Rect(10, 20, 280, 20)).string_(preBakedStr) .action_ ({|fld| var pairs; if(fld.value.size != 0, { pairs = fld.v ...
-
... se ] ) .setSpec( \clipCenter, PointSpec(200) ) .setSpec( \clipRadius, PointSpec(Rect(0,0,200,200)) ) .setSpec( \clip, ListSpec( [ \softClip, \sineClip, \fold, \wrap, \excess, \off ] ) ) .setSpec( \polar, BoolSpec( false ) ) .setSpec( \clipS ...