-
... 28 ); Pen.lineTo( x @ height ); }; }); Pen.stroke; Pen.color = Color.black; Pen.font = Font( Font.defaultSansFace, 11 ); slicePos.do({ |x, i| Pen.stringCenteredIn( i.asString, Rect( x - 14, 0, 28, 28) ); }); Pen.color = Color.white.alpha_(0 ...
-
... Keys = OFX_Chain.allSources.keys; title = StaticText.new() .string_(chain.key) .font_(Font.default.bold_(true)); slotSections = this.makeAllSlotSections(6); // @TODO // transportButtons = if(isMain, { nil }, { // this.makeTransportSection() ...
-
... 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; } { p ...
-
... OS). There is also a Server menu entry for "Boot Server". Notice that the white font on the black view on the bottom of the window has changed to green. This indicates that the server is running. The view also provides you with some informa ...
-
... dow. // Appearance: skin the GUI skin to use. By default this is GUI.skins.jit. font the font, also taken from JITGui.skin. // specific in the JITGui class: nameView displays the object's key if available. csView displays the object's compi ...
-
... ,0).insetBy(25)).string_((70+i).asAscii).align_( \center ); q.enabled= true ; q.font= Font .default.copy; q.background_( Color .rand); q.mouseDownAction={ n.background_( Color .rand); q.font=q.font.size_(5+q.font.size+7%60) }; }); ) Definin ...
-
... 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 ...