-
... fingerSize * 0.5; var status = ["OFF", "ON"][MTP.isRunning.binaryValue]; var bigFont = Font("Futura", bounds.width / 10); var halfFont = Font("Futura", bounds.width / 30); // on or off background color uv.background_(Color.grey(MTP.isRunnin ...
-
... ect= Rect(397, 270, 400, 200); //x, y, w, h var palette= SGUI.palette; var fnt= Font.monospace(10); //--functions and objects var sendOsc; var routine; var buttonLookup= #[ [64, 65, 66, 58, 50, 40, 41, 32, 33, 34], [68, 67, 63, 59, 54, 44, ...
-
... gNumRows,argNumCols; var skin; skin = GUI.skin; pen = GUI.pen; defaultStyle = ( font: GUI.font.new(*skin.fontSpecs), fontColor: skin.fontColor, boxColor: skin.offColor, borderColor: skin.foreground, center: false ); this.makeDefaultStyles(s ...
-
... <>background, <styles, <defaultStyle; var pen, boxWidth, boxHeight, boxBounds, font; var plus, mainInlets, mainOutlets, mainPlus; *new { arg mx, w, bounds; ^super.new.init(mx, w, bounds); } init { arg argmx, w, argbounds; var skin; mx = ar ...
-
... | this.pairsDo { |key, val| if(function.value(val, key)) { ^key } }; ^nil; } } +Font { *available { |...names| var match; names.do { |name| match = Font.availableFonts.detect(_ == name); match !? { ^match } } ^nil; } }
-
... r current = chain.getCurr(); var title = StaticText.new(w) .string_(chain.key) .font_(Font.default.bold_(true)); var sourceKeys = OFX_Chain.allSources.keys; var slotButtons = VLayout( *sourceKeys.asArray.collect{|sourceKey, params| // var p ...
-
... .black; Pen.stringAtPoint("Input Level (dB)", Point(height * 0.4, width * 0.9), Font( Font.defaultSansFace, 14 ), Color.gray(0.2).alpha_(0.5)); Pen.rotate(0); Pen.stringAtPoint("Output Level (dB)", Point(0, width * 0.5), Font( Font.defaultS ...
-
... indow.onClose_({pracmode = false}); ^pracwindow; } bigNumGUI {arg bigNumBounds, fontSize = 96; var numstring; bigNumBounds = bigNumBounds ?? {Rect(bounds.width * 0.5, bounds.height * 0.5, bounds.width * 0.3, bounds.height * 0.3)}; bigNum = ...
-
... .x, position.y, 420, 200); //x, y, w, h var palette= SGUI.palette; var fntMono= Font.monospace(10); //--functions and objects var prefDict, tmp; //--gui var codeTextString; var destinationsButton; var pwin, win= Window(name, winRect); rows= ...
-
... lickCount == 2, action) }; lv.stringColor = fg; lv.focusColor = Color.clear; lv.font = GUI.font.new(GUI.skin.fontSpecs[0], 10); lv.beginDragAction = { var key, item; item = items[lv.value]; if(item.isKindOf(MxDrawerItemGroup).not, { item = ...