-
... 400, 400, colors.size*(i_width+pad) + (2*pad), i_width+50)).front;\ window.view.background_( Color .black);\ window.drawHook = \\ \ Pen .use \\ Pen .translate(10, 10);\ colors.do\ |color, i| \ color.set;\ Pen .fillRect( Rect (pad/2, 0, i_wi ...
-
... ..]; }; flow.shift(0, 0); StaticText(window, cNameRect) .font_(staticTextFont) .background_(Color(1.0, 1.0, 1.0, 0.5)) .string_(nameStr) ; // flow.shift(2, 0); elem.cName = TextField(window, cNameEnterTextRect) .font_(textFieldFont) .string ...
-
... sr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0.3, 0.9); num.do{physics.makeParticle(1.5.rand+0.5, width.rand, height.rand, 0)}; anchor= physics ...
-
... sr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.2.rand2, 0.2.rand2, 0, 0.4); num.do{physics.makeParticle(1, width.rand, height.rand, 0)}; anchor= physics. ...
-
... }, { thisEditor = allEditors[name] }); if(Quarks.isInstalled("wslib"), { window.background_(Color.white) }); labelColors = [ Color(1.0, 0.3), //spec Color.red, //midi Color(0.0, 0.5, 0.5), //osc Color(0.32, 0.67, 0.76), //actions ]; labelSt ...
-
... 50, 16)) .items_(if(channels==1, {monoChList},{stereoChList})) .value_(inbus) .background_(Color.white) .font_(GUI.font.new("Helvetica", 9)) .canFocus_(false) .action_({ arg ch; if(channels==1, {inbus = ch.value}, {inbus = ch.value * 2}); ...
-
... ounds.moveTo(0,0); inparent; }; } makeViews { uv = UserView(parent, bounds); uv.background = dict[\backCol]; uv.focusGainedAction = { uv.background_(dict[\focusCol]); }; uv.focusLostAction = { uv.background_(dict[\backCol]); }; uv.resize_(5 ...
-
... sr= UserView(win, Rect(0, 0, width, height)); var physics, anchor, springs; usr.background= Color.red; physics= TraerParticleSystem(0.1, 0.2, 0.3, 0.1); num.do{|i| physics.makeParticle(0.5, width.rand, height.rand, 0)}; anchor= physics.make ...
-
... 16)) .items_(if(channels==1, {monoChList}, {stereoChList})) .value_(params[0]) .background_(Color.white) .font_(GUI.font.new("Helvetica", 9)) .canFocus_(false) .action_({ arg ch; if(channels==1, {inbus = ch.value}, {inbus = ch.value * 2}); ...
-
... p; } prInitInterface {|size, skin| if(skin.isNil, { GUI.skins.put(\redMstGUI, ( background: Color.red(0.8), foreground: Color.black, fontSpecs: ["Monaco", 9] )); skin= GUI.skins.redMstGUI; }); fnt= Font(skin.fontSpecs[0], size); colBack= sk ...