Working on menu.
This commit is contained in:
@ -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;
|
Reference in New Issue
Block a user