mirror of
https://github.com/jhbruhn/eurorack.git
synced 2025-03-15 02:55:49 +00:00
Remove unnecessary menu consdtructor parameters
This commit is contained in:
parent
ca4d0cc5e2
commit
cda0831b9d
2 changed files with 4 additions and 5 deletions
|
@ -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();
|
||||
|
|
|
@ -4,8 +4,7 @@
|
|||
#include <u8g2.h>
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue