2019-11-21 15:02:45 +00:00
# pragma once
# include "../utils/types.h"
# define MAINMENU_AMOUNT 6
2019-11-21 16:34:47 +00:00
# define CREDITS_MESSAGE "\nTegraexplorer, made by:\nSuch Meme, Many Skill\n\nProject based on:\nLockpick_RCM\nHekate\n\nCool people:\nshchmue\ndennthecafebabe\nDax"
2019-11-21 15:02:45 +00:00
typedef struct _menu_item {
char name [ 50 ] ;
u32 color ;
short internal_function ;
short property ;
} menu_item ;
2019-11-21 20:27:48 +00:00
enum mainmenu_return {
SD_CARD = 1 ,
EMMC ,
MOUNT_SD ,
TOOLS ,
CREDITS ,
EXIT
} ;
enum shutdownmenu_return {
REBOOT_RCM = 1 ,
REBOOT_NORMAL ,
2019-12-01 14:42:37 +00:00
POWER_OFF ,
HEKATE ,
AMS
2019-11-21 20:27:48 +00:00
} ;
enum toolsmenu_return {
2019-12-03 09:06:11 +00:00
DISPLAY_INFO = 1 ,
2019-12-03 16:11:08 +00:00
DISPLAY_GPIO ,
FORMATFAT32
2019-11-21 20:27:48 +00:00
} ;
//menu_item mainmenu[MAINMENU_AMOUNT];
2019-11-21 15:02:45 +00:00
void te_main ( ) ;