Working on menu.

This commit is contained in:
2021-08-30 10:34:10 -07:00
parent 5369795134
commit e2e1e5fbac
3 changed files with 60 additions and 50 deletions

View File

@ -22,18 +22,18 @@
typedef struct {
int32_t x;
int32_t y;
int32_t width;
int32_t height;
int32_t i;
} menuitem_t;
typedef struct {
int32_t columns;
int32_t rows;
menuitem_t items[MENU_ITEMS_MAX];
int32_t itemCount;
int32_t selected;
int32_t cursorX;
int32_t cursorY;
int32_t x;
int32_t y;
uint8_t direction;
menuitem_t* items[MENU_ITEMS_MAX];
bool holdAllow;
float holdLast;
// bool holdAllow;
// float holdLast;
} menu_t;