Fixing missing FX-Send in TG menu that was swallowed during PR merge

pull/499/head
Vincent Gauché 1 year ago
parent 781eba6df5
commit 15677e38e3
  1. 31
      src/uimenu.cpp

@ -74,21 +74,26 @@ const CUIMenu::TMenuItem CUIMenu::s_TGFXMenu[] =
const CUIMenu::TMenuItem CUIMenu::s_TGMenu[] = const CUIMenu::TMenuItem CUIMenu::s_TGMenu[] =
{ {
{"Voice", EditProgramNumber}, {"Voice", CUIMenu::EditProgramNumber},
{"Bank", EditVoiceBankNumber}, {"Bank", CUIMenu::EditVoiceBankNumber},
{"Volume", EditTGParameter, 0, CMiniDexed::TGParameterVolume}, {"Volume", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterVolume},
#ifdef ARM_ALLOW_MULTI_CORE #ifdef ARM_ALLOW_MULTI_CORE
{"Pan", EditTGParameter, 0, CMiniDexed::TGParameterPan}, {"Pan", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterPan},
#endif #endif
{"Detune", EditTGParameter, 0, CMiniDexed::TGParameterMasterTune}, #if defined(MIXING_CONSOLE_ENABLE)
{"Cutoff", EditTGParameter, 0, CMiniDexed::TGParameterCutoff}, {"FX-Send", CUIMenu::MenuHandler, CUIMenu::s_TGFXMenu},
{"Resonance", EditTGParameter, 0, CMiniDexed::TGParameterResonance}, #elif defined(PLATE_REVERB_ENABLE)
{"Pitch Bend", MenuHandler, s_EditPitchBendMenu}, {"Reverb-Send", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterReverbSend},
{"Portamento", MenuHandler, s_EditPortamentoMenu}, #endif
{"Poly/Mono", EditTGParameter, 0, CMiniDexed::TGParameterMonoMode}, {"Detune", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterMasterTune},
{"Modulation", MenuHandler, s_ModulationMenu}, {"Cutoff", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterCutoff},
{"Channel", EditTGParameter, 0, CMiniDexed::TGParameterMIDIChannel}, {"Resonance", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterResonance},
{"Edit Voice", MenuHandler, s_EditVoiceMenu}, {"Pitch Bend", CUIMenu::MenuHandler, CUIMenu::s_EditPitchBendMenu},
{"Portamento", CUIMenu::MenuHandler, CUIMenu::s_EditPortamentoMenu},
{"Poly/Mono", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterMonoMode},
{"Modulation", CUIMenu::MenuHandler, CUIMenu::s_ModulationMenu},
{"Channel", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterMIDIChannel},
{"Edit Voice", CUIMenu::MenuHandler, CUIMenu::s_EditVoiceMenu},
{0} {0}
}; };

Loading…
Cancel
Save