Changes for menu (1 instance, no FX).

pull/32/head
Holger Wirtz 5 years ago
parent 73e5827569
commit b03d1426bd
  1. 75
      UI_1.h

@ -24,7 +24,79 @@
#ifndef _UI_H_ #ifndef _UI_H_
#define _UI_H_ #define _UI_H_
LCDML_add(0, LCDML_0, 1, "Voice", NULL);
LCDML_add(1, LCDML_0_1, 1, "Select", UI_func_voice_select);
LCDML_add(2, LCDML_0_1, 2, "Audio", NULL);
LCDML_add(3, LCDML_0_1_2, 1, "Voice Level", UI_func_sound_intensity);
LCDML_add(4, LCDML_0_1_2, 2, "Panorama", UI_func_panorama);
LCDML_add(5, LCDML_0_1, 3, "Controller", NULL);
LCDML_add(6, LCDML_0_1_3, 1, "Pitchbend", NULL);
LCDML_add(7, LCDML_0_1_3_1, 1, "PB Range", UI_func_pb_range);
LCDML_add(8, LCDML_0_1_3_1, 2, "PB Step", UI_func_pb_step);
LCDML_add(9, LCDML_0_1_3, 2, "Mod Wheel", NULL);
LCDML_add(10, LCDML_0_1_3_2, 1, "MW Range", UI_func_mw_range);
LCDML_add(11, LCDML_0_1_3_2, 2, "MW Assign", UI_func_mw_assign);
LCDML_add(12, LCDML_0_1_3_2, 3, "MW Mode", UI_func_mw_mode);
LCDML_add(13, LCDML_0_1_3, 3, "Aftertouch", NULL);
LCDML_add(14, LCDML_0_1_3_3, 1, "AT Range", UI_func_at_range);
LCDML_add(15, LCDML_0_1_3_3, 2, "AT Assign", UI_func_at_assign);
LCDML_add(16, LCDML_0_1_3_3, 3, "AT Mode", UI_func_at_mode);
LCDML_add(17, LCDML_0_1_3, 4, "Foot Ctrl", NULL);
LCDML_add(18, LCDML_0_1_3_4, 1, "FC Range", UI_func_fc_range);
LCDML_add(19, LCDML_0_1_3_4, 2, "FC Assign", UI_func_fc_assign);
LCDML_add(20, LCDML_0_1_3_4, 3, "FC Mode", UI_func_fc_mode);
LCDML_add(21, LCDML_0_1_3, 5, "Breath Ctrl", NULL);
LCDML_add(22, LCDML_0_1_3_5, 1, "BC Range", UI_func_bc_range);
LCDML_add(23, LCDML_0_1_3_5, 2, "BC Assign", UI_func_bc_assign);
LCDML_add(24, LCDML_0_1_3_5, 3, "BC Mode", UI_func_bc_mode);
LCDML_add(25, LCDML_0_1, 4, "MIDI", NULL);
LCDML_add(26, LCDML_0_1_4, 1, "MIDI Channel", UI_func_midi_channel);
LCDML_add(27, LCDML_0_1_4, 2, "Lowest Note", UI_func_lowest_note);
LCDML_add(28, LCDML_0_1_4, 3, "Highest Note", UI_func_highest_note);
LCDML_add(29, LCDML_0_1_4, 4, "Send Voice", UI_func_sysex_send_voice);
LCDML_add(30, LCDML_0_1_4, 5, "Receive Voice", UI_func_sysex_receive_voice);
LCDML_add(31, LCDML_0_1, 5, "Setup", NULL);
LCDML_add(32, LCDML_0_1_5, 1, "Portamento", NULL);
LCDML_add(33, LCDML_0_1_5_1, 1, "Port. Mode", UI_func_portamento_mode);
LCDML_add(34, LCDML_0_1_5_1, 2, "Port. Gliss", UI_func_portamento_glissando);
LCDML_add(35, LCDML_0_1_5_1, 3, "Port. Time", UI_func_portamento_time);
LCDML_add(36, LCDML_0_1_5, 2, "Polyphony", UI_func_polyphony);
LCDML_add(37, LCDML_0_1_5, 3, "Transpose", UI_func_transpose);
LCDML_add(38, LCDML_0_1_5, 4, "Fine Tune", UI_func_tune);
LCDML_add(39, LCDML_0_1_5, 5, "Mono/Poly", UI_func_mono_poly);
LCDML_add(40, LCDML_0_1, 6, "Internal", NULL);
LCDML_add(41, LCDML_0_1_6, 1, "Note Refresh", UI_func_note_refresh);
LCDML_add(42, LCDML_0_1_6, 2, "Velocity Lvl", UI_func_velocity_level);
LCDML_add(43, LCDML_0_1_6, 3, "Engine", UI_func_engine);
LCDML_add(44, LCDML_0_1, 7, "Operator", NULL);
LCDML_add(45, LCDML_0_1_7, 1, "OP1", UI_func_OP1);
LCDML_add(46, LCDML_0_1_7, 2, "OP2", UI_func_OP2);
LCDML_add(47, LCDML_0_1_7, 3, "OP3", UI_func_OP3);
LCDML_add(48, LCDML_0_1_7, 4, "OP4", UI_func_OP4);
LCDML_add(49, LCDML_0_1_7, 5, "OP5", UI_func_OP5);
LCDML_add(50, LCDML_0_1_7, 6, "OP6", UI_func_OP6);
LCDML_add(51, LCDML_0, 2, "Load/Save", NULL);
LCDML_add(52, LCDML_0_2, 1, "Performance", NULL);
LCDML_add(53, LCDML_0_2_1, 1, "Load Perf.", UI_func_load_performance);
LCDML_add(54, LCDML_0_2_1, 2, "Save Perf.", UI_func_save_performance);
LCDML_add(55, LCDML_0_2, 2, "Voice Config", NULL);
LCDML_add(56, LCDML_0_2_2, 1, "Load Voice Cfg", UI_func_load_voiceconfig);
LCDML_add(57, LCDML_0_2_2, 2, "Save Voice Cfg", UI_func_save_voiceconfig);
LCDML_add(58, LCDML_0_2, 4, "Voice", NULL);
LCDML_add(59, LCDML_0_2_4, 1, "Save Voice", UI_func_save_voice);
LCDML_add(60, LCDML_0_2, 5, "MIDI", NULL);
LCDML_add(61, LCDML_0_2_5, 1, "MIDI Recv Bank", UI_func_sysex_receive_bank);
LCDML_add(62, LCDML_0_2_5, 2, "MIDI Send Bank", UI_func_sysex_send_bank);
LCDML_add(63, LCDML_0_2, 6, "EEPROM Reset", UI_func_eeprom_reset);
LCDML_add(64, LCDML_0, 3, "System", NULL);
LCDML_add(65, LCDML_0_3, 3, "Volume", UI_func_volume);
LCDML_add(66, LCDML_0_3, 1, "Stereo/Mono", UI_func_stereo_mono);
LCDML_add(67, LCDML_0_3, 2, "MIDI Soft THRU", UI_func_midi_soft_thru);
LCDML_add(68, LCDML_0, 4, "Info", UI_func_information);
#define _LCDML_DISP_cnt 68
#define MENU_ID_OF_INSTANCE_2 51
#define VOLUME_MENU_ID 65
/*
LCDML_add(0, LCDML_0, 1, "Setup", NULL); LCDML_add(0, LCDML_0, 1, "Setup", NULL);
LCDML_add(1, LCDML_0_1, 1, "MIDI Channel", UI_func_midi_channel); LCDML_add(1, LCDML_0_1, 1, "MIDI Channel", UI_func_midi_channel);
LCDML_add(2, LCDML_0_1, 2, "Lowest Note", UI_func_lowest_note); LCDML_add(2, LCDML_0_1, 2, "Lowest Note", UI_func_lowest_note);
@ -78,5 +150,6 @@ LCDML_add(49, LCDML_0_3, 3, "Firmware Reset", UI_func_firmware_reset);
LCDML_add(50, LCDML_0, 4, "Info", UI_func_information); LCDML_add(50, LCDML_0, 4, "Info", UI_func_information);
#define _LCDML_DISP_cnt 50 #define _LCDML_DISP_cnt 50
#define MENU_ID_OF_INSTANCE_2 41 #define MENU_ID_OF_INSTANCE_2 41
*/
#endif #endif

Loading…
Cancel
Save