-
... var bounds; bounds = Rect(0, 0, argbounds.width, argbounds.height); this.view_(GUI.userView.new(parent, argbounds)) .drawFunc_({ GUI.pen.color = Color.black.alpha_(0.4); GUI.pen.width = 1; GUI.pen.strokeRect(Rect(bounds.left+0.5, bounds.to ...
-
//redFrik //see RedGUI help for examples RedGUI { *initClass { StartUp.add({ if(\GUI.asClass.notNil, { GUI.skins.put(\redFrik, ( background: Color.red.alpha_(0.8), foreground: Color.black, selection: Color.grey, unfocus: 0.9, fontSpecs: [" ...
-
// Setup a GUI to view/control an Actant to be passed RunnerGUI { var <>runner, <>yStep, <>w, <>gui, <>x, <>y ; var <max, guiArr, <controlNum ; var runnerControl ; *new {Ê arg runner, yStep = 35, x = 1040, y = 900, controlNum ; ^super.new.i ...
-
SWDataNetworkGui - SWDataNodeGui - SWDataSlotGui These classes implement a Gui for the Data Network. Most of the methods of this class are only used by the class itself to create the gui. - Example - // Define the network x = SWDataNetwork ...
-
MKtlElementGUI { classvar <>makeViewFuncDict; classvar <>labelWidth = 80; classvar <>smallLabelWidth = 20; var <element; var <>parent, <>views, <>values, <>getValueFuncs, <>skipJack; var <>subGUIs; *new { |parent, bounds, element| ^this.new ...
-
... ile ( path ) this method can create a valid SVG file from a function containing GUI .pen instructions. They are collected by ColPen (no documentation yet). The example below should demonstrate the use of this method: ( d = { GUI .pen.use({ ...
-
MixerGUIDef { var <>channelSize, <>viewProtos, // prototypes for mixer control guis <>viewBounds, // bounds relative to channel origin <>numPresendsShow = 1, <>numPostsendsShow = 1, <>color1, <>color2, <>clearColor; *initClass { Class.initC ...
-
MixerGUIDef { var <>channelSize, <>viewProtos, // prototypes for mixer control guis <>viewBounds, // bounds relative to channel origin <>numPresendsShow = 1, <>numPostsendsShow = 1, >color1, >color2, >clearColor; *initClass { Class.initClas ...
-
... { arg parent, bounds; var area; needleColor = Color.black(0.8, 0.8); this.view_(GUI.userView.new(parent, bounds)) .relativeOrigin_(true); this.view.drawFunc_({ var bounds; bounds = Rect(0, 0, this.view.bounds.width, this.view.bounds.height) ...
-
// gui methods + KeyPlayer { *gui { if (gui.isNil or: { gui.parent.isClosed }){ gui = KeyPlayerGui() }; ^gui.front; } gui { ^KeyPlayerGui(this) } saveDoc { Document("save my actions").string_(this.actions.asCompileString); } }