-
... tion of the 5th through 11th columns is related to the Q-factor."); view = UserView(win, Rect(0, 160, w, h-430)); vIn = true; view .mouseDownAction_{ |view, x, y, modifiers, buttonNumber, clickCount| if(buttonNumber==0 & ...
-
... , 30, 10 )) .font_(Font("Helvetica", 8)) .string_(i.asString) } ; u = UserView(w, Rect(0, 20, d, e)).background_(Color.white) ; f = {|v, f2, f1| StaticText(u, Rect(f2.linlin(500, 2500, d, 0), f1.linlin(200, 800, 0, e)-18, ...
-
... local; s.waitForBoot{ if (s.hasShmInterface) { w = Window().front; u = UserView(w, w.view.bounds); f = { |x, y| var size = 20 + (y/4); k = k.center_(Point(x, y)); k = k.size_(Size(size, size)); b.setSynchronous(x ...
-
... }); [r,g,b].do({|item| item.sliderView.canFocus_(false) }); color = UserView(w,Rect(160,0,64,64)) .background_(Color.black) .enabled_(true) .mouseDownAction_({ color.background.postln;}) .beginDragAction_({color.back ...
-
... .fill2D(xSize,ySize,{ [0, 1, 1, 0, 0].choose }); ~arr = arr; }; uview = UserView.new(win, Rect(0, 0, xSize*scale, ySize*scale)); uview.clearOnRefresh = true; uview.drawFunc = { |uview| xSize.do { |x| ySize.do { |y| Pen.fi ...
-
... = pos; lastVal = val; update.value; }; canvas = UserView(w, Rect(0, 30, 800, 300)) .background_(Color.white) .animate_(true) .mouseDownAction_(draw) .mouseMoveAction_(draw) ...
-
... w=Window("Feigenbaum", Rect(160, 40, windowWidth, windowHeight)).front; u = UserView(w, w.view.bounds); u.background=Color.white; u.clearOnRefresh_(false); u.drawFunc={ Pen.fillColor = Color.black; Pen.addRect(Rect(p1, p2, 1, ...
-
... w = 1024, h = 600; var win = Window("", Rect(100, 100, w, h)).front; var uv = UserView(win, win.view.bounds); var sinFunc = { |i, periode=2pi| sin((i/n)*periode) }; var lastValues = { 0 }.dup(n); uv.background = Color.black; uv.animat ...
-
... 50,100)).front; window.view.background_(Color.new(153,255, 102)); chordview = UserView(window); chordview.drawFunc = { |uview| var viewwidth = uview.bounds.width; var viewheight = uview.bounds.height; var imgwidth = img.width; ...
-
... lor.blue, Color.white, Color.white, Color.black ] ].asList; var demo_view = UserView(); var demo_string = ""; var demo_function; ~get_multi_button_view = { | states_array, default_state, orientation, font, has_inside_margin | v ...