mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
stuff
This commit is contained in:
1 parent
829890010e
commit
4ca64bd24e
4 files changed
+138
-67
No files matched your search
+11
-8
@@ -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
|
||||
Reference in new issue
Block a user