-
... .string_( " units" ) .align_( \left ) .resize_(2); audio = SmoothButton( comp, Rect( comp.bounds.right - (80+8+60), 1, 40, 12 ) ) .label_( ["audio", "audio"] ) .border_( 1 ) .radius_( 2 ) .value_( showAudio.binaryValue ) .hiliteColor_( Col ...
-
... 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 = ...
-
... 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 ...
-
... nt.isNil,{ font = GUI.font.new(*GUI.skin.fontSpecs) }); ^super.new.init(layout, Rect(0,0, width ?? {(string.bounds(font).width + 6).max(minWidth)} , height ?? {GUI.skin.buttonHeight})) .font_(font) .label_(string) } init { |layout, bounds, ...
-
... t.isNil, { font = GUI.font.new(*GUI.skin.fontSpecs) }); ^super.new.init(layout, Rect(0, 0, width ?? {(string.bounds(font).width + 6).max(minWidth)} , height ?? {GUI.skin.buttonHeight})) .font_(font) .label_(string) } init { |layout, bounds, ...