diff options
author | Shelley Chen <shchen@chromium.org> | 2017-11-14 10:37:17 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-01-23 11:24:22 -0800 |
commit | 5f9b770d7a44e6011ebe1ec7b28692e4eab1c2b6 (patch) | |
tree | 733e584500b6939e7e18a9447d18030a9f9487b5 /firmware/lib/include | |
parent | b00bf851cdaada874b7c66c6913d0cef0798fcbf (diff) | |
download | vboot-5f9b770d7a44e6011ebe1ec7b28692e4eab1c2b6.tar.gz |
detachables: Define options menu
This menu will be used by any of the legacy screens.
The idea is that when the user hits volume up/down, then
they will enter this options menu, which will allow the user
to change languages or show debug info.
BUG=b:67371896, b:64400036
BRANCH=None
TEST=None
Change-Id: I31d3e312388b56613368276ec72e5c68ded2264e
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/770257
Commit-Ready: Benjamin Gordon <bmgordon@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'firmware/lib/include')
-rw-r--r-- | firmware/lib/include/vboot_ui_menu_private.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/firmware/lib/include/vboot_ui_menu_private.h b/firmware/lib/include/vboot_ui_menu_private.h index 7c6be490..f451a531 100644 --- a/firmware/lib/include/vboot_ui_menu_private.h +++ b/firmware/lib/include/vboot_ui_menu_private.h @@ -15,6 +15,7 @@ typedef enum _VB_MENU { VB_MENU_RECOVERY, VB_MENU_TO_DEV, VB_MENU_LANGUAGES, + VB_MENU_OPTIONS, VB_MENU_RECOVERY_INSERT, VB_MENU_RECOVERY_NO_GOOD, VB_MENU_RECOVERY_BROKEN, @@ -74,6 +75,14 @@ typedef enum _VB_LANGUAGES_MENU { VB_LANGUAGES_COUNT, } VB_LANGUAGES_MENU; +typedef enum _VB_OPTIONS_MENU { + VB_OPTIONS_CANCEL, + VB_OPTIONS_DBG_INFO, + VB_OPTIONS_POWER_OFF, + VB_OPTIONS_LANGUAGE, + VB_OPTIONS_COUNT, +} VB_OPTIONS_MENU; + extern VB_MENU current_menu; extern VB_MENU prev_menu; extern int current_menu_idx; |