This commit is contained in:
Nick Chan committed 2023-01-29 01:02:47 +08:00
1 parent 829890010e
commit 4ca64bd24e
4 files changed
+138 -67

No files matched your search

+11 -8
View File
@@ -14,15 +14,18 @@
#include <locale.h>
#include <unistd.h>
struct button {
char name[0x10];
};
#define MAIN_OPTIONS "Options"
#define MAIN_START "Start"
#define MAIN_EXIT "Exit"
struct button_list {
uint8_t count;
uint8_t current;
uint8_t height;
struct button buttons[];
enum tui_screens {
ERROR_SCREEN = -1,
EXIT_SCREEN = 0,
MAIN_SCREEN = 1,
OPTIONS_SCREEN = 2,
ENTER_DFU_SCREEN = 3,
JAILBREAKING_SCREEN = 4,
ENTER_RECOVERY_SCREEN = 5
};
#endif