diff --git a/src/uimenu.cpp b/src/uimenu.cpp index 9cead76..0a2a221 100644 --- a/src/uimenu.cpp +++ b/src/uimenu.cpp @@ -74,21 +74,26 @@ const CUIMenu::TMenuItem CUIMenu::s_TGFXMenu[] = const CUIMenu::TMenuItem CUIMenu::s_TGMenu[] = { - {"Voice", EditProgramNumber}, - {"Bank", EditVoiceBankNumber}, - {"Volume", EditTGParameter, 0, CMiniDexed::TGParameterVolume}, + {"Voice", CUIMenu::EditProgramNumber}, + {"Bank", CUIMenu::EditVoiceBankNumber}, + {"Volume", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterVolume}, #ifdef ARM_ALLOW_MULTI_CORE - {"Pan", EditTGParameter, 0, CMiniDexed::TGParameterPan}, + {"Pan", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterPan}, #endif - {"Detune", EditTGParameter, 0, CMiniDexed::TGParameterMasterTune}, - {"Cutoff", EditTGParameter, 0, CMiniDexed::TGParameterCutoff}, - {"Resonance", EditTGParameter, 0, CMiniDexed::TGParameterResonance}, - {"Pitch Bend", MenuHandler, s_EditPitchBendMenu}, - {"Portamento", MenuHandler, s_EditPortamentoMenu}, - {"Poly/Mono", EditTGParameter, 0, CMiniDexed::TGParameterMonoMode}, - {"Modulation", MenuHandler, s_ModulationMenu}, - {"Channel", EditTGParameter, 0, CMiniDexed::TGParameterMIDIChannel}, - {"Edit Voice", MenuHandler, s_EditVoiceMenu}, +#if defined(MIXING_CONSOLE_ENABLE) + {"FX-Send", CUIMenu::MenuHandler, CUIMenu::s_TGFXMenu}, +#elif defined(PLATE_REVERB_ENABLE) + {"Reverb-Send", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterReverbSend}, +#endif + {"Detune", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterMasterTune}, + {"Cutoff", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterCutoff}, + {"Resonance", CUIMenu::EditTGParameter, 0, CMiniDexed::TTGParameter::TGParameterResonance}, + {"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} };