-
... axSize = 96; var thisDisplayLine = false; var thisDisplayValues = true; var thisFontRatio = 0.1; var thisRoundValues; var thisXDisplayFunction = nil; var thisYDisplayFunction = nil; var thisHelpersStyle = \line; var thisDisplayHelpers = fal ...
-
... \right; var thisAllowRetrigger = false; var thisAllowMouseMove = true; var thisFontRatio = 0.4; var thisUnselectedRatio = 0.8; var thisDrawSelected = true; var thisAltIndex = nil; var thisDisplayAltValue = true; var thisSVGRatio = 0.8; *ne ...
-
... {|anApp| app = anApp; GUI.qt; palette = QPalette.dark; QtGUI.palette = palette; Font.default = Colliding.guiFont; buf = Buffer.alloc(app.server, 1024, 2); bus = Bus(\audio, 0, 2, app.server); synth = BusScopeSynth(app.server); controller = ...
-
... eration, fraction.asFloat] ); }); } } */ drawStringAtPoint { arg string, point, font, color; var r; if(string.isNil, {^this}); r = string.bounds; Pen.use { Pen.translate(0, this.height); Pen.scale(1,-1); point.y = this.height - point.y; str ...
-
... llOval( square ); } { Pen.strokeOval( square ); } }, sign: { |rect, text = "@", font, color| var center, radius, textBounds; center = rect.center; radius = rect.width.min( rect.height ) / 2; font = font ? Font( "Monaco", 12 ); textBounds = ...
-
... \right; var thisAllowRetrigger = false; var thisAllowMouseMove = true; var thisFontRatio = 0.4; var thisUnselectedRatio = 0.8; var thisDrawSelected = true; var thisAltIndex = nil; var thisDisplayAltValue = true; var thisSVGRatio = 0.8; var ...
-
... // strings ~uv.drawFunc = { Pen.stringAtPoint("Can write STRINGS too", 10@200, Font("Futura", 24)); }; ~uv.refresh; ( // string, rect and ovals ~uv.drawFunc = { Pen.stringAtPoint("Can write STRINGS too", 10@200, Font("Futura", 24)); Pen.st ...
-
... red.blend(~white, 0.7); ~buttonExtent = Point(25, 25); ~labelHeight = 16; ~labelFont = Font.default.copy.pixelSize_(11); ~sliderWidth = 200; ~xyExtent = Point(140, 145); ~gap = Point(5, 5); // this is defined in wslib but I don't want a dep ...
-
... , <point; var <pointSize = 5, <pointColor, <lineSize = 1, <lineColor; var <labelFont, <flipped = true; *new { |point| point = point ? Point(1,1); ^super.new.init( point ); } init { |point| window = SCWindow( "Point" ).front; pointColor = po ...
-
... iew { var thisStates; var currentState = 0; var thisDirection = \right; var thisFontRatio = 0.4; var thisSVGRatio = 0.8; var thisMaxFontSize = 32; *new { ^super.new.init; } init { super.init; this.setEventHandler( QObject.mouseUpEvent, \mou ...