-
... t,bounds); StaticText(pa,Rect(0,he*0,wi,he*dr)+Rect(2,2,-4,-4)) // .background_(Color.blue(0.4)) .stringColor_(Color.blue(0.4)) .align_(\left) .string_("DOCUMENTATION \n "); EZNumber(pa,Rect(0,he*dr,wi-he,h ...
-
... 123' : (), '456' : (), '789' : ( 'hier' : ())))) .font_( Font ( "Arial" , 24)) .background_( Color .red(1)) .hiliteColor_( Color .red(0.75)) .stringColor_( Color .red(0.5)); Routine ({while({w.isClosed.not}, { ( "path:" ++a.currentPath).pos ...
-
... - level meter - ", Rect(point.x, point.y, viewWidth + 20, 230)); //window.view.background = Color.grey(0.4); view = CompositeView(win, Rect(10,25, viewWidth, 180) ); view.addFlowLayout(0@0, gapWidth@gapWidth); // dB scale UserView(view, Re ...
-
... indow.screenBounds, false).fullScreen .front .onClose_({CmdPeriod.run;}) .background_(Color.blue(0.1)); var winW = win.view.bounds.width, winH = win.view.bounds.height, hudH=50, hud, hudRect = Rect(0, winH-hudH, winW, hudH); var ...
-
... types are actually subclasses of Error -- see its help file for the hierarchy. Background: General exception handling An exception is any event that disrupts the normal execution flow of a program. In practice there is not much distinction ...
-
... xtString= StaticText().fixedHeight_(" ".bounds(fnt).height*2) .align_(\topLeft).background_(Color.grey(0.9, 0.5)) ); SGUI.report(win); SGUI.adapt(win); win.front; infoTextString.font= fnt; buttons= buttons.reverse; sendOsc= {|arr| var str= ...
-
... w=Window("Confetti2", Rect(400, 300, z*~maxIndex, z*~maxIndex)).front; w.view.background_(Color.white); w.front; //function for drawing array on screen t={ w.drawHook = { for(0, ~maxIndex-1, { arg v; for(0, ~maxIndex-1, {arg ...
-
... n } ! n; w = Window("Julia set", bounds: Rect(200, 200, xs, ys)).front; w.view.background_(Color.black); w.drawFunc = { n.do { |x| n.do { |y| var z = field[x][y]; z = f.(z); field[x][y] = z; Pen.color = Color.gray(z.rho.linlin(-100, 100, 1 ...
-
... = Window("Poussière", Rect(0, 0, window_size[0], window_size[1]), false); win.background_( frame_color ); slider = UserView( win, Rect( margin, margin, window_size[0] - ( margin * 2 ), window_size[1] - ( margin * 2 ) )); slider.drawFu ...
-
... efault values on compile. fontSpecs: ["Helvetica", 10], fontColor: Color.black, background: Color(0.8, 0.85, 0.7, 0.5), foreground: Color.grey(0.95), onColor: Color(0.5, 1, 0.5), offColor: Color.clear, gap: 0@0, margin: 2@2, buttonHeight: 1 ...