-
... var minNumLines = 5; var scrollRatio = 1/8; var keepCursorCentered = true; var font = Font(Font.defaultSansFace, 10); margin = margin ?? { 30 @ 30 }; xmargin = margin.x; ymargin = margin.y; bounds = bounds ?? { Rect(20, 30, 800, 300) }; wi ...
-
... Butz.style.winCol = Color.red(1, 0.8); Butz.style.winExtent_(60@16); Butz.style.font.name = Font.defaultMonoFace; Butz.style.font.size = (18 * (NTMI.g.screenScale ** 0.5)).round; "// Butz font: %\n\n".postf(Butz.style.font); Butz.show; Butz ...
-
... overriden by individual tabs <>tabViews, // array of TabbbedViewTab instances <font, // default Font. cannot be overriden by individual tabs <resize = 1, <>detachedClosable=true, <>archiveKeys, <activeTab, <>changeAction, // execute on cha ...
-
... rPos.add(1.0.rand) }); selbPool = GUI.popUpMenu.new(win, Rect(10, 5, 102, 16)) .font_(GUI.font.new("Helvetica", 9)) .items_(if(XQ.poolNames == [], {["no pool", "no pool 2"]}, {XQ.poolNames})) .value_(1) .background_(Color.white) .action_({ ...
-
... rl+Shift+N"), MenuAction("icon", { "icon".postln }) .icon_(~image), MenuAction("font", { "font".postln }) .font_(Font("Helvetica", 20, italic: true)), MenuAction.separator.string_("other stuff"), CustomViewAction(Slider().orientation_(\hori ...
-
... align_(\center) .stringColor_(Color(1.0, 0.0, 0.0)) .background_(Color(0,0,0)) .font_(GUI.font.new("Optima", 24)) ; r = Task.new({ arg i ; loop({ clockField.string_((thisThread.seconds-runner.startTime).asTimeString) ; 1.wait })// a clock r ...
-
... ", Color.white, Color(0.9, 0.5, 0.3)]]; muteButton.canFocus = false; muteButton.font_(options.font); if(Server.default.volume.isMuted){muteButton.value = 1}; muteButton.action = { arg button; if(button.value == 0, {Server.default.unmute}, { ...
-
... r_ to background_ //ctrl click to reset volume to 0db //--todo: //* colours and font from skin? RedDiskInPlayer { var <sampler, <isPlaying= false, <soundFiles, <win; var playIndex, bgcol, fgcol, incdecTask; var incView, decView, progressVie ...
-
... Parent, argBounds; var widgetHeight, widgetWidth, marginX, marginY, gapX, gapY, font; font = Font("Arial", 20); ctkPEvent = argCtkPEvent; parent = argParent; bounds = argBounds ?? {Rect(20, Window.screenBounds.height, width = 400, height = ...
-
... methods Instance methods edit renderAndWrite play numChans path synthDef author font Inherited instance methods Classes (extension) | Convenience GrainExplorer Extension A GUI to explore and render one-shot sounds Location: NOT INSTALLED! S ...