diff options
author | Jerry Zhang <zhangjerry@google.com> | 2018-05-22 02:05:28 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-05-22 02:05:28 +0200 |
commit | ebc910901cf7815e521995d0a1645531cfd65648 (patch) | |
tree | 7940caa0e1a245ecfdb8fb0ae00799b850c8b5a3 /screen_ui.h | |
parent | Merge "updater: Clean up the header lines computation." am: a5735e9b5f (diff) | |
parent | Merge "recovery: Add ability to set title lines" (diff) | |
download | android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.gz android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.bz2 android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.lz android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.xz android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.tar.zst android_bootable_recovery-ebc910901cf7815e521995d0a1645531cfd65648.zip |
Diffstat (limited to '')
-rw-r--r-- | screen_ui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/screen_ui.h b/screen_ui.h index 2d6b621d5..c90a2cd17 100644 --- a/screen_ui.h +++ b/screen_ui.h @@ -141,6 +141,7 @@ class ScreenRecoveryUI : public RecoveryUI { size_t ShowMenu(const std::vector<std::string>& headers, const std::vector<std::string>& items, size_t initial_selection, bool menu_only, const std::function<int(int, bool)>& key_handler) override; + void SetTitle(const std::vector<std::string>& lines) override; void KeyLongPress(int) override; @@ -266,6 +267,8 @@ class ScreenRecoveryUI : public RecoveryUI { bool show_text; bool show_text_ever; // has show_text ever been true? + std::vector<std::string> title_lines_; + bool scrollable_menu_; std::unique_ptr<Menu> menu_; |