-
... nu ].value = vws[ \menu ].items.indexOfEqual( "~" ++ (tf.value) ) ? 0; vws[ \setColor ].value; }; }); vws[ \setColor ] = { var hash; hash = vws[ \string ].value.hash; vws[ \string ].background = Color.new255( (hash & 16711680) / 65536, (has ...
-
... .resizeToFit }); if(parent.isNil,{ layout.front; view.focus; }) } background { ^Color.yellow(0.3,alpha:0.1) } topGui { arg parent,bounds ... args; var layout; layout=this.guify(parent,bounds); // top level controls this.synthConsole(layout) ...
-
... resizeToFit }); if(parent.isNil, { layout.front; view.focus; }) } background { ^Color.yellow(0.3, alpha:0.1) } topGui { arg parent, bounds ... args; var layout; layout=this.guify(parent, bounds); // top level controls this.synthConsole(layo ...
-
... = Rect(242, 242, 1150, 750); //x, y, w, h var palette= SGUI.palette((highlight: Color.green(2/3, 0.5))); var fnt= SGUI.font.copy.size_(10); var fps= 25; var scales= [ //more can be added. see Scale.directory Scale.bartok, Scale.chinese, Sca ...
-
... Rect(100, 200, 500, 500)); w.front; w.layout= VLayout(); v= View(w).background_(Color.blue); a= RedMixStereo(20, 40, 0); b= Pbind(\degree, 0, \out, 20).play; c= Pbind(\degree, 4, \out, 40).play; a.gui(v); //note parent v w.onClose= {a.free; ...
-
... ion and a task: [ [ "Label", { action }, { arg v; { task } } or nil, foreground color, background color ], [ "Label", { action }, ..... ] ..... ] The action function is passed two arguments: the voicer process to which it belongs, and this ...
-
... ion and a task: [ [ "Label", { action }, { arg v; { task } } or nil, foreground color, background color ], [ "Label", { action }, ..... ] ..... ] The action function is passed two arguments: the voicer process to which it belongs, and this ...
-
... e = -1; var selectedHandle = -1; var thisYMin = 0; var thisYMax = 1; var thisModColor; var currentTime = 0; var thisLastLevelIsZero = false; var thisMaxSize = inf; var ctrlPressed = false; var mousePos; var thisAction; var thisActionOnMove ...
-
... }; canvas = UserView(w, Rect(0, 30, 800, 300)) .background_(Color.white) .animate_(true) .mouseDownAction_(draw) .mouseMoveAction_(draw) .mouseUpAction_({ lastPos = nil; ...
-
... w.onClose = { q.close }; u = UserView(w, Rect(0, 0, 400, 400)); u.background = Color.black; u.drawFunc = { var p; q.remote_ir.do {|ir, i| if(ir.valid>0) { p = Point(ir.posx*400, ir.posy*400); Pen.addArc(p, ir.size*500.0, 0, pi*2); Pen.fill ...