diff options
Diffstat (limited to 'recovery_ui.h')
-rw-r--r-- | recovery_ui.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/recovery_ui.h b/recovery_ui.h index 50af45b..ec5f4fa 100644 --- a/recovery_ui.h +++ b/recovery_ui.h @@ -17,6 +17,12 @@ #ifndef _RECOVERY_UI_H #define _RECOVERY_UI_H +#include "common.h" + +// Called before UI library is initialized. Can change things like +// how many frames are included in various animations, etc. +extern void device_ui_init(UIParameters* ui_parameters); + // Called when recovery starts up. Returns 0. extern int device_recovery_start(); @@ -67,14 +73,16 @@ int device_wipe_data(); #define GO_BACK -5 #define ITEM_REBOOT 0 -#define ITEM_APPLY_SDCARD 1 +#define ITEM_APPLY_EXT 1 +#define ITEM_APPLY_SDCARD 1 // historical synonym for ITEM_APPLY_EXT #define ITEM_WIPE_DATA 2 #define ITEM_WIPE_CACHE 3 -#define ITEM_INSTALL_ZIP 4 -#define ITEM_NANDROID 5 -#define ITEM_PARTITION 6 -#define ITEM_ADVANCED 7 -#define ITEM_POWEROFF 8 +// unused in cwr +#define ITEM_APPLY_CACHE 4 +#define ITEM_NANDROID 4 +#define ITEM_PARTITION 5 +#define ITEM_ADVANCED 6 +#define ITEM_POWEROFF 7 // Header text to display above the main menu. extern char* MENU_HEADERS[]; |