-
... h ? "None").fileNameWithoutExtension }, beatDuration: { ~source.beatDuration }, gui: { arg layout; var l; l = layout ?? {PageLayout(~name.value, Rect(0, 0, 500, 600))}; ~source.gui(l); if(layout.isNil, { l.resizeToFit }) }, timeGui: { arg l ...
-
SuperCollider GUIDES GUI Custom Views A guide to creating custom views by subclassing UserView See also: UserView , Writing Classes , Introduction to GUI Tutorial 1. Setup instance vars appropriate to your widget 2. Define the *viewClass me ...
-
... t("Monaco", 12.0), defaultMode: 'vert' ) } { defaultSkin }; Class.initClassTree(GUI); StartUp.add({ GUI.skins.default.put('minbox', defaultSkin); }); } *new { arg parent, bounds; ^super.new.init( parent, bounds ); } init { arg argParent, ar ...
-
ConductorGUI : GUIEvent { classvar <>osx; var <>conductor, <>header, <>keys, <>guis, <>stopOnClose; *initClass { Class.initClassTree(GUIEvent); osx = (parent: GUIEvent.osx); osx.use { ~cvGUI = ~nslider; ~multicvGUI = ~multislider; ~svGUI = ...
-
... width,height,minWidth=15,font; string = string.asString; if(font.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.buttonHei ...
-
... h, height, minWidth=15, font; string = string.asString; if(font.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.buttonHe ...
-
... ; this.view.beginDragAction = {this.value} ; this.view.canReceiveDragHandler = {GUI.view.currentDrag.isNumber} ; this.view.receiveDragHandler = {this.valueAction_( GUI.view.currentDrag)} ; this.view.mouseDownAction={ arg v, x, y, modifiers, ...
-
... Text base baseText highlight highlightText Inherited instance methods Classes | GUI > Accessories'>Accessories QPalette : Object Set of colors used by the GUI Source: QPalette.sc Description QPalette is a set of colors that the GUI system u ...
-
... reEditor| ^super.new.init(scoreEditor, parent,bounds) } *current { ^UScoreEditorGUI.current !? _.scoreView } *spaceBarPlayAnyway_ { |bool = true| spaceBarPlayAnyway = bool; this.changed( \spaceBarPlayAnyway, spaceBarPlayAnyway ); } init { | ...
-
... ock - the clock that plays the task. default is AppClock , so SkipJack can call GUI primitives. If you need more precise timing, you can supply your own clock, and use defer only where necessary. autostart - when true (default) SkipJack sta ...