-
... ptions| var butHeight = skin.headHeight; var flow = zone.decorator; // top line StaticText(zone, Rect(0,0, 30, butHeight)).string_("curr") .background_(skin.foreground) .font_(font).align_(\center); setLPop = PopUpMenu(zone, Rect(0,0, 80, b ...
-
... rand(0.7)); v.decorator = n = FlowLayout (v.bounds, margin: 0@0, gap: 5@5); a = StaticText (v, Rect (20, 70, 90, 20)).string_( " xZoom = 1" ).background_( Color .rand); m = Slider (v, Rect (20, 60, 285, 20)).background_(a.background).action ...
-
... ontrolButtons.reshape(8,2); if (midiOut.isNil.not,{ container.layout = VLayout( StaticText.new.string_("MIDI Part Switch").fixedHeight_(15).align_(\center), HLayout(*reshapedMidiControlButtons[0]), HLayout(*reshapedMidiControlButtons[1]), H ...
-
... window.front; window.view.children[0].focus(true); }); // The clock // 4 // GUI.staticText.new(window, Rect(390,4,120,30)) .string_(starttime.asTimeString); (GUI.id == \cocoa).if({ window.view.children[4].font = GUI.font.new(\Helvetica, 24) ...
-
... \amp); // for amplitude in rec slider // channels dropdown - INPUT CHANNEL GUI.staticText.new(win, Rect(10, 9, 40, 16)).string_("in"); GUI.popUpMenu.new(win,Rect(35, 10, 50, 16)) .items_(if(channels==1, {monoChList},{stereoChList})) .value ...
-
... do not require the Cmd/Ctrl key to be held down to initiate dragging . Akin to StaticText they can store arbitrary content in the -object variable, and display it using Object: -asString . You can set the displayed text separately using -s ...
-
... lSpec(0, 10.0, \amp); // for amplitude // channels dropdown - INPUT CHANNEL GUI.staticText.new(win, Rect(10, 9, 40, 16)).string_("in"); GUI.popUpMenu.new(win,Rect(35, 10, 50, 16)) .items_(if(channels==1, {monoChList}, {stereoChList})) .valu ...
-
... }); sl.value_(spec.asSpec.unmap(ctr[defaults][i])) }; // lazy labels [StaticText(gui[\topBar]).string_("a tune / fine / amp\t\t alvl"), View(gui[\topBar]).minWidth_(450), StaticText(gui[\topBar]).string_("blvl\t\t ...
-
... } } NumericRangeGui : ObjectGui { guiBody { arg lay, name; name.notNil.if({ GUI.staticText.new(lay, Rect(0, 0, 100, 20)).string_(name); }); view = GUI.rangeSlider.new(lay, Rect(0, 0, 200, 20)) .action_({ arg v; model.lo_(model.spec.map(v.lo ...
-
... buf, bufIndex| PathName(buf.path).fileName -> bufIndex }.asDict; var titlebar = StaticText.new(win).string_(folderName).font_(Font.default.bold_(true)); var helpText = StaticText.new(win).string_("Click soundfile name to preview.\nMake sele ...