summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-06 21:40:05 +0200
committerElliott Hughes <enh@google.com>2015-05-07 06:20:10 +0200
commitdf52e1e119804cc5e7d0b7f77a7d1bf42b2da9dc (patch)
tree2b3e8ccbd8b85e5e74a28fb4ca7f7d07b6685b29 /screen_ui.h
parentuncrypt: Switch to C++ (diff)
downloadandroid_bootable_recovery-df52e1e119804cc5e7d0b7f77a7d1bf42b2da9dc.tar
android_bootable_recovery-df52e1e119804cc5e7d0b7f77a7d1bf42b2da9dc.tar.gz
android_bootable_recovery-df52e1e119804cc5e7d0b7f77a7d1bf42b2da9dc.tar.bz2
android_bootable_recovery-df52e1e119804cc5e7d0b7f77a7d1bf42b2da9dc.tar.lz
android_bootable_recovery-df52e1e119804cc5e7d0b7f77a7d1bf42b2da9dc.tar.xz
android_bootable_recovery-df52e1e119804cc5e7d0b7f77a7d1bf42b2da9dc.tar.zst
android_bootable_recovery-df52e1e119804cc5e7d0b7f77a7d1bf42b2da9dc.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;