Make and use a more generic function for drawing menus
This commit is contained in:
parent
03eb07ea87
commit
08fca258c2
2 changed files with 71 additions and 114 deletions
4
menu.h
4
menu.h
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue