summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-07 06:17:46 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-05-07 06:17:46 +0200
commit77a2c8839f2de5947184605815015bc2696c3207 (patch)
treed7c35f13c6ace0875a8f43804b3c9499749e9779 /screen_ui.h
parentMerge "uncrypt: Switch to C++" (diff)
parentAdd an alternate screen for viewing recovery logs. (diff)
downloadandroid_bootable_recovery-77a2c8839f2de5947184605815015bc2696c3207.tar
android_bootable_recovery-77a2c8839f2de5947184605815015bc2696c3207.tar.gz
android_bootable_recovery-77a2c8839f2de5947184605815015bc2696c3207.tar.bz2
android_bootable_recovery-77a2c8839f2de5947184605815015bc2696c3207.tar.lz
android_bootable_recovery-77a2c8839f2de5947184605815015bc2696c3207.tar.xz
android_bootable_recovery-77a2c8839f2de5947184605815015bc2696c3207.tar.zst
android_bootable_recovery-77a2c8839f2de5947184605815015bc2696c3207.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 46165d90c..ea05bf15f 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -89,18 +89,23 @@ class ScreenRecoveryUI : public RecoveryUI {
// true when both graphics pages are the same (except for the progress bar).
bool pagesIdentical;
+ size_t text_cols_, text_rows_;
+
// Log text overlay, displayed when a magic key is pressed.
- char** text;
- size_t text_cols, text_rows;
- size_t text_col, text_row, text_top;
+ char** text_;
+ size_t text_col_, text_row_, text_top_;
+
bool show_text;
bool show_text_ever; // has show_text ever been true?
- char** menu;
- const char* const* menu_headers;
+ char** menu_;
+ const char* const* menu_headers_;
bool show_menu;
int menu_items, menu_sel;
+ // An alternate text screen, swapped with 'text_' when we're viewing a log file.
+ char** file_viewer_text_;
+
pthread_t progress_thread_;
int animation_fps;