-
... width, height), resizable: false).front; view = UserView(win, win.view.bounds).background_(color).clearOnRefresh_(false); win.view.background_(color); SystemClock.sched(0.0, { if(frame < lastFrame, { while { (index < (score.size-1)) && (fr ...
-
... r.init( parent, bounds ); mode = \jump; // \jump or \move value = [0.0,0.0]; // background, hilightColor, borderColor, knobColor, stringColor color = [Color.gray(0.5, 0.5), Color.blue.alpha_(0.5), Color.white.alpha_(0.5), Color.black.alpha_ ...
-
... tring_(""+mc+"(used:"+ctrlrs.midiCtrlrs[mc][0]++"x)"+ctrlrs.midiCtrlrs[mc][1]) .background_(Color(1.0, 1.0, 1.0, 0.5)) .font_(staticTextFont) ; }); oscOrder.do({ |oc, i| flow1.shift(0, 0); StaticText(tabView1, Rect(0, 0, flow1.bounds.width- ...
-
... "no pool"]}, {XQ.globalBufferDict.keys.asArray})) .value_(0) .canFocus_(false) .background_(Color.white) .action_({ arg item; gBufferPoolNum = item.value; ldSndsGBufferList.value(selbPool.items[item.value]); agentArray.do({arg agent; agent. ...
-
... gui { arg layout, bounds; var pen, blue; view = UserView(layout, bounds); view.background = Color.white; gridLines = DrawGrid(bounds, GridLines([0.0, maxTime]), nil); pen = GUI.pen; blue = Color.blue; view.drawFunc = { gridLines.draw; if(( ...
-
... nt.refresh; } stringColor_ { |newColor| stringColor = newColor; this.refresh; } background { ^bgColor } background_ { |newColor| bgColor = newColor; this.refresh; } hiliteColor_ { |newColor| hiliteColor = newColor; this.refresh; } hilightCo ...
-
... example userview accelerometer", Rect(10, 100, width, height)).front; win.view.background= Color.white; img= Image(width, height); imgFunc= { img.draw({ data.do{|xyz| height.do{|y| img.setColor(clear, x, y)}; xyz.do{|val, i| Pen.strokeColo ...
-
... gens[\name].getHalo(\offFunc)``` -- mutes the process, continues playing in the background - ```m.gens[\name].pause``` -- pauses rendering (not audible anymore) - ```m.gens[\name].resume``` -- resumes rendering - ```m.gens[\name].controlKey ...
-
... margins = [0, 0, 0, 10]; mainLayout.spacing = 2; this.layout = mainLayout; this.background = Color.black.alpha_(0.1); headerView = View(); headerView.background = Color(0.45490196078431, 0.55686274509804, 0.87843137254902); headerLayout = H ...
-
... var box; var off = 5; var w = 150; var h = 40; n = NB ( "square" , 600, 400); n.background(0.9.rand + 0.25, 0.8.rand + 0.4, 0.8.rand + 0.2); n.text( "Shuffle cards" , 425, 50); num.do({ arg item, i; n.translate( "random(-15, 15)" , "random( ...