eurorack/midi2cv/ui.h

34 lines
396 B
C
Raw Normal View History

2019-09-19 14:41:32 +00:00
#ifndef MIDI2CV_UI_H
#define MIDI2CV_UI_H
#include "stmlib/stmlib.h"
typedef enum {
MENU_PART_1,
MENU_PART_2,
MENU_PART_3,
MENU_PART_4,
MENU_COUNT
} Menu_t;
2019-09-19 14:41:32 +00:00
class UI {
public:
UI() {}
~UI() {}
void Update();
void Flush();
private:
Menu_t current_menu;
2019-09-19 14:41:32 +00:00
void DrawHeader();
void DrawPartMenu(Menu_t menu);
2019-09-19 14:41:32 +00:00
DISALLOW_COPY_AND_ASSIGN(UI);
2019-09-19 14:41:32 +00:00
};
extern UI ui;
#endif