-
... 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 ...
-
... TabbedView2's labelPadding, depending on other settings, like the TabbedView2's Font, or tabHeight, etc. . focusAction add a focus action to the tab. For example enable a scope you are showing in the tab. . unfocusAction add an unfocus acti ...
-
... tion mouseDownAction mouseUpAction action Graphical settings string stringRatio fontRatio maxFontSize orientation svg svgRatio free Internal Methods draw resizeSVG Inherited instance methods Examples Classes (extension) | GUI > Graphical Mo ...
-
... _("DAMPING") ; StaticText(w, Rect(460,160, 135,120)) .string_("AM\nSYNTH") .font_(Font("Purisa",36)) ; )
-
... 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 ...
-
... .new(window, Rect(5, 5, 140, 90)) .states_([["Pattern GO"], ["Pattern STOP"]]) .font_(Font.new("Helvetica", 18)) .action_({ |button| if(button.value == 1 and: { player.isNil or: { player.isPlaying.not } }) { player = pattern.play; } { playe ...