2020-02-22 22:42:31 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "../menu/menu.h"
|
|
|
|
#include "../menu/menu_items.h"
|
2020-02-23 10:15:27 +00:00
|
|
|
#include <U8g2lib.h>
|
2020-02-22 22:42:31 +00:00
|
|
|
|
|
|
|
class PartMenu {
|
|
|
|
public:
|
|
|
|
PartMenu();
|
|
|
|
|
|
|
|
bool enter();
|
|
|
|
bool back();
|
|
|
|
void up();
|
|
|
|
void down();
|
|
|
|
|
2020-02-23 10:15:27 +00:00
|
|
|
void render(U8G2* u8g2, int x, int y, int width, int height);
|
2020-02-22 22:42:31 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
Menu menu;
|
2020-02-22 23:15:01 +00:00
|
|
|
UIntMenuItem item_voice_count;
|
2020-02-23 00:34:26 +00:00
|
|
|
StringListMenuItem item_voice_detail;
|
2020-02-22 23:58:21 +00:00
|
|
|
BoolMenuItem item_midi_filter_enabled;
|
2020-02-23 01:40:43 +00:00
|
|
|
StringListMenuItem item_midi_channel;
|
|
|
|
StringListMenuItem item_midi_input;
|
2020-02-22 23:15:01 +00:00
|
|
|
MidiNoteMenuItem item_midi_lowest_note;
|
|
|
|
MidiNoteMenuItem item_midi_highest_note;
|
2020-02-23 01:44:34 +00:00
|
|
|
StringListMenuItem item_midi_thru_mode;
|
2020-02-22 22:42:31 +00:00
|
|
|
};
|