-
... n = { |nb| action.value( this, nb.value ) }; }, 'menu', { views[ \popup ] = GUI.popUpMenu.new( composite, Rect( composite.bounds.left + labelWidth, composite.bounds.top, 50.max( (specs[ \items ] ? ["off"]) .collect({ |item| item.asString.bo ...
-
... y| prey.supplyTextFields([sampleNameField, pitchSampleField])}); selbPool = GUI.popUpMenu.new(win, Rect(265, 485, 102, 16)) // 530 .font_(GUI.font.new("Helvetica", 9)) .items_( if(XQ.globalBufferDict.keys.asArray == [], {["no pool"]}, {XQ.g ...
-
... rms if(err.isKindOf(PrimitiveFailedError).not) { err.throw }; ^this }; switch = PopUpMenu(layout, Rect(0,0, width, GUI.skin.buttonHeight)); switch.focusColor = Color.clear; switch.items = devs.collect({ arg dev; dev.select({ arg c; c.isAlph ...
-
... rms if(err.isKindOf(PrimitiveFailedError).not) { err.throw }; ^this }; switch = PopUpMenu(layout, Rect(0, 0, width, GUI.skin.buttonHeight)); switch.focusColor = Color.clear; switch.items = devs.collect({ arg dev; dev.select({ arg c; c.isAlp ...
-
... View(layout, argBounds ?? { Rect(0, 0, 700, 300) }, margin: 2@2); seqMenu = GUI.popUpMenu.new(mainView, Rect(0, 0, 120, 20)) .items_(model.menuItems) //.align(\center); .action_({ arg m; model.recorder.isNil.if({ // not recording, so... mod ...
-
... View(layout, argBounds ?? { Rect(0, 0, 700, 300) }, margin: 2@2); seqMenu = GUI.popUpMenu.new(mainView, Rect(0, 0, 120, 20)) .items_(model.menuItems) //.align(\center); .action_({ arg m; model.recorder.isNil.if({ // not recording, so... mod ...
-
... Height].normalizeSum * 0.95 // * height).asInteger; // // if (pop) { // popup = PopUpMenu(comp, Rect(0, 0, buttonsWidth, popHeight)) // .items_([\a, \b, \c]) // .action_ { |pop| // "pop action: value %, item %".format // (pop.value, pop.ite ...
-
... 18)) .string_("inbus :") .resize_(9) .font_(GUI.font.new("Helvetica", 9)); GUI.popUpMenu.new(view, Rect(38, 15, 30, 18)) .items_(XiiACDropDownChannels.getMonoChnList) .value_(params[0]) .font_(GUI.font.new("Helvetica", 9)) .background_(Col ...
-
... 2021Q4) */ SCMMIDIInSelectorView : SCMViewBase { var <proxy, labelErrorMessage, popupMenuMIDIIns, mainLayout, selectedMIDIInName, <midiIn; classvar dependants, midiIns; *initClass { midiIns = Dictionary(); dependants = Set(); this.refresh() ...
-
... tanceListView.value]) .tryPerform(\proto); }); layout.startRow; classMenu = GUI.popUpMenu.new(layout, 160@20) .items_(chuckClasses.collect(_.name)).value_(0) .action_({ |menu| this.changeClass; }); subTypeMenu = GUI.popUpMenu.new(layout, 12 ...