diff --git a/midi2cv/menu/menu.h b/midi2cv/menu/menu.h index 5e5fa4d..6f0738c 100644 --- a/midi2cv/menu/menu.h +++ b/midi2cv/menu/menu.h @@ -16,12 +16,12 @@ class Menu { uint8_t width, height; public: - Menu(uint8_t width_, uint8_t height_) + Menu() : selectedItem(0) , currentScrollStart(0) , currentEditingItem(-1) - , width(width_) - , height(height_) {}; + , width(10) + , height(10) {}; void up(); void down(); diff --git a/midi2cv/ui/part_menu.cc b/midi2cv/ui/part_menu.cc index d478da6..7ca8bee 100644 --- a/midi2cv/ui/part_menu.cc +++ b/midi2cv/ui/part_menu.cc @@ -4,8 +4,7 @@ #include PartMenu::PartMenu() - : menu(128, 64) - , item_voice_count("voice count", 1, 1, 4, 1) + : item_voice_count("voice count", 1, 1, 4, 1) , item_voice_detail("voice detail", 1, 1, 4, 1) , item_midi_filter_enabled("MIDI filter", 0, "on", "off") , item_midi_channel("MIDI channel", 0, 0, 100, 1)