diff options
author | CEnnis91 <cennis91@gmail.com> | 2012-01-14 23:51:58 -0500 |
---|---|---|
committer | Koushik Dutta <koushd@gmail.com> | 2012-01-26 15:08:15 -0800 |
commit | 4f78176329ed3061a5eb723313209978e4af1bd7 (patch) | |
tree | d9bd2c18d026f6d3c14827ccb753e84dca4bfae6 /recovery_ui.h | |
parent | de338e56b37a1e83af000b5710bb3cb4b34d6315 (diff) | |
download | bootable_recovery-4f78176329ed3061a5eb723313209978e4af1bd7.zip bootable_recovery-4f78176329ed3061a5eb723313209978e4af1bd7.tar.gz bootable_recovery-4f78176329ed3061a5eb723313209978e4af1bd7.tar.bz2 |
Misc tweaks / bug fixes
- readd "power off" to the main menu
- fix bug where stdout overflows into menu text
- remove +++++Go Back+++++ from main menu as there is nothing to go back to (detects menu depth)
Change-Id: Icb84ac86e55712412d07add0ab76955d7902f07c
Diffstat (limited to 'recovery_ui.h')
-rw-r--r-- | recovery_ui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/recovery_ui.h b/recovery_ui.h index ec5f4fa..44e9e06 100644 --- a/recovery_ui.h +++ b/recovery_ui.h @@ -90,6 +90,9 @@ extern char* MENU_HEADERS[]; // Text of menu items. extern char* MENU_ITEMS[]; +// Loosely track the depth of the current menu +int ui_menu_level; + int get_menu_selection(char** headers, char** items, int menu_only, int initial_selection); |