Working on menu.
This commit is contained in:
1 parent
e1c987e2ca
commit
840a1a55e3
3 files changed
+60
-50
No files matched your search
+10
-10
@@ -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