Make and use a more generic function for drawing menus

This commit is contained in:
John Stäck 2019-03-03 21:59:25 +01:00
parent 03eb07ea87
commit 08fca258c2
2 changed files with 71 additions and 114 deletions

4
menu.h
View file

@ -2,6 +2,10 @@
#define __MENU_H
#define MENU_ROW_HEIGHT 9
#define MENU_HEADER_OFFSET 3
//display states
#define DISPLAYOFF_IDL 0
#define MAIN_MENU 1