summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorLuke Song <songwalker@google.com>2017-06-16 21:30:52 +0200
committerAndroid (Google) Code Review <android-gerrit@google.com>2017-06-16 21:30:53 +0200
commit0f8b3710dbfa8397d3cf66e113cf52da2a0bea15 (patch)
tree107bcb564994dfcf8df5e9191740847df93ff731 /screen_ui.h
parentMerge "Add OWNERS in bootable/recovery" am: ffd8505f4d am: 9f20e861b6 am: 80eb02dcbf (diff)
parentIntroduce VR recovery ui (diff)
downloadandroid_bootable_recovery-0f8b3710dbfa8397d3cf66e113cf52da2a0bea15.tar
android_bootable_recovery-0f8b3710dbfa8397d3cf66e113cf52da2a0bea15.tar.gz
android_bootable_recovery-0f8b3710dbfa8397d3cf66e113cf52da2a0bea15.tar.bz2
android_bootable_recovery-0f8b3710dbfa8397d3cf66e113cf52da2a0bea15.tar.lz
android_bootable_recovery-0f8b3710dbfa8397d3cf66e113cf52da2a0bea15.tar.xz
android_bootable_recovery-0f8b3710dbfa8397d3cf66e113cf52da2a0bea15.tar.zst
android_bootable_recovery-0f8b3710dbfa8397d3cf66e113cf52da2a0bea15.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/screen_ui.h b/screen_ui.h
index a2322c36c..bd99254f6 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -107,6 +107,7 @@ class ScreenRecoveryUI : public RecoveryUI {
// Log text overlay, displayed when a magic key is pressed.
char** text_;
size_t text_col_, text_row_, text_top_;
+ int log_bottom_offset_;
bool show_text;
bool show_text_ever; // has show_text ever been true?
@@ -165,8 +166,9 @@ class ScreenRecoveryUI : public RecoveryUI {
virtual int GetProgressBaseline();
virtual int GetTextBaseline();
- void DrawHorizontalRule(int* y);
- void DrawTextLine(int x, int* y, const char* line, bool bold) const;
+ virtual void DrawHorizontalRule(int* y);
+ virtual void DrawHighlightBar(int x, int y, int width, int height) const;
+ virtual void DrawTextLine(int x, int* y, const char* line, bool bold) const;
void DrawTextLines(int x, int* y, const char* const* lines) const;
};