-
... r.clump(numchans).flop.collect(_.clump(netsize)); // SCWindow w = Window(title, Rect(100, 500, (picsize + 10)*rowlen+10, (picsize + 30)*numrows+20)); w.front; if(title.isNil){title = path.basename.splitext[0]}; if(labels.isNil){ labels = nu ...
-
... 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) //.align(\center); .action_({ arg m; m ...
-
... 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) //.align(\center); .action_({ arg m; m ...
-
... y]}, {setting[2]}); poolName = params[5]; settingsPool = poolName; windowSize = Rect(point.x, point.y, 1015, (tracks/8).round(1)*270); win = GUI.window.new("- bufferplayer -", windowSize, resizable:false); win.drawHook = { GUI.pen.color = C ...
-
... bj, obj2, trg, mp, spr1, spr2; //--world w= RedWindow("spring interconnected3", Rect(128, 64, width, height)).front; mp= w.mouse; wgrav= RedVector2D[0, 0]; world= RedWorld1(RedVector2D[width, height], wgrav, 30, 0.1); //dim,grav,maxvel,damp ...
-
... data: [] ) }.dup(board.numChannels); //--window var win= Window("focus widget", Rect(10, 100, 512, 320)); win.view.minSize= Size(410, 220); win.background= Color.white; win.drawFunc= { Pen.color= Color.black; Pen.stringAtPoint("Focus Widget ...
-
... ght= 300, w, wgrav, world, n= 3, att; //--world w= RedWindow("attractor test1", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0.98]; world= RedWorld3(RedVector2D[width, height], wgrav, 20, 0.25); //dim,grav,maxvel,damp //--obje ...
-
... q.draw = q.draw ? (); // make a window ... q.draw.demoWin = Window("test_draw", Rect(0,0,400, 400)).front; // make the window slightly transparent q.draw.demoWin.alpha_(0.997); // and put a userview on it, on which we can we draw: q.draw.de ...
-
... or make a new one if needed lay = w ?? { w = ResizeFlowWindow.new("TempoClock", Rect(0, 20, width + 5, height)) }; }, { mainLayout = lay; lay = lay.asPageLayout(title,bounds); }); lay.removeOnClose(this); ^lay } guiBody { arg lay, n; namev. ...
-
... on, startView; var soundfile; ~temp = nil; win = Window.new("Sound Descripter", Rect(140, 800, 1100, 200)).front.alwaysOnTop_(true).background_(colorSet1[2]); //*** Drop Area *** drg = DragSink(win, Rect(15, 15, 700, 50)) .resize_(2) .backg ...