-
... astTime= 0; var win, msliders, updateFunc; win= Window("gui example scrolling", Rect(100, 100, 640, 480)).front; msliders= { MultiSliderView() .canFocus_(false) .isFilled_(true) .colors_(Color.black, Color.grey) .value_(0.dup(history)) .ela ...
-
... , -0.5pi)); Pen.scale(fontScaler, fontScaler); Pen.stringCenteredIn(domainName, Rect.aboutPoint(0@0, center.x, 40), NTMI.g.fontFat, Color.fromArray(NTMI.inph.currCounterCol).alpha_(0.4) ); }; }); NTMI.g.main.bigUVUpdate = { defer { if (NTMI ...
-
... me= 0; var win, sliders, numbers, updateFunc; win= Window("gui example simple", Rect(100, 100, 320, 240)).front; sliders= {Slider().canFocus_(false)}.dup(numChan); numbers= {NumberBox().canFocus_(false)}.dup(numChan); win.layout= VLayout(*[ ...
-
... hAB) ]; Pen.width= lineWidth; Pen.translate(size*0.5, size*0.5); Pen.strokeOval(Rect.aboutPoint(Point(0, 0), size*0.5*innerRad, size*0.5*innerRad)); numCogs.do{|i| Pen.moveTo(points[0]); Pen.lineTo(points[1]); points= points.collect{|p| p.r ...
-
... footerH = windowHeight * 1/10; window = Window.new(name: "SCLOrkQuNeo", bounds: Rect( left: 275, top: 163, width: windowWidth, height: windowHeight ), resizable: false ).front; window.background = Color.black; window.onClose = { "Closed GUI ...
-
... thisStates; var thisCurrentState; var thisOrientation = \horizontal; var thisDirection = \right; var thisAllowRetrigger = false; var thisAllowMouseMove = true; var thisFontRatio = 0.4; var thisUnselectedRatio = 0.8; var thisDrawSelected = ...
-
... lace it in an existing window: ProxyMonitorGui (~test, Window ( "ProxyMonitor", Rect(200, 200, 400, 100) ).front); ProxyMonitorGui (~test, Window ( "ProxyMonitor" ).front, bounds: 350@40); P roxyMonitorGui (~test, Window ( "ProxyMonitor" ). ...
-
... ane, heightCartPlane, rad, theta, func, cnt= 0; w= RedWindow("func plot image", Rect(128, 64, width, height)).front; img= Image(width, height); widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%width; dx= widthCartPlan ...
-
... ane, heightCartPlane, rad, theta, func, cnt= 0; w= RedWindow("func plot image", Rect(128, 64, width, height)).front; img= Image(width, height); widthCartPlane= 16; heightCartPlane= 16; //--loop w.draw{ cnt= cnt+0.05%width; dx= widthCartPlan ...
-
... nce, gain, 0.001); Out.ar(out,bounce); }).add; // GUI w = Window("Pong", Rect((Window.screenBounds.width/2)-(width/2), (Window.screenBounds.height/2)-(height/2), width, height), false).front; u = UserView(w, Rect(0, 0, width, height ...