summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-07 19:15:50 +0200
committerAndroid Git Automerger <android-git-automerger@android.com>2015-05-07 19:15:50 +0200
commit020bdab2bedfc1bddd493fd3e0491595a3785726 (patch)
treed7c35f13c6ace0875a8f43804b3c9499749e9779 /screen_ui.h
parentam 2ab0a572: resolved conflicts for merge of 550bd340 to mnc-dev-plus-aosp (diff)
parentam df52e1e1: Add an alternate screen for viewing recovery logs. (diff)
downloadandroid_bootable_recovery-020bdab2bedfc1bddd493fd3e0491595a3785726.tar
android_bootable_recovery-020bdab2bedfc1bddd493fd3e0491595a3785726.tar.gz
android_bootable_recovery-020bdab2bedfc1bddd493fd3e0491595a3785726.tar.bz2
android_bootable_recovery-020bdab2bedfc1bddd493fd3e0491595a3785726.tar.lz
android_bootable_recovery-020bdab2bedfc1bddd493fd3e0491595a3785726.tar.xz
android_bootable_recovery-020bdab2bedfc1bddd493fd3e0491595a3785726.tar.zst
android_bootable_recovery-020bdab2bedfc1bddd493fd3e0491595a3785726.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;