summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorLuke Song <songwalker@google.com>2017-06-13 01:08:33 +0200
committerLuke Song <songwalker@google.com>2017-07-06 23:53:00 +0200
commitedc6b52f006eda2cd23c2de654968be347b3f2a5 (patch)
tree75d30db53f07e95ee7f6d047687bf73089d7ecc6 /screen_ui.h
parentMerge "recovery: replace make_ext4 with e2fsprogs" into oc-dr1-dev (diff)
downloadandroid_bootable_recovery-edc6b52f006eda2cd23c2de654968be347b3f2a5.tar
android_bootable_recovery-edc6b52f006eda2cd23c2de654968be347b3f2a5.tar.gz
android_bootable_recovery-edc6b52f006eda2cd23c2de654968be347b3f2a5.tar.bz2
android_bootable_recovery-edc6b52f006eda2cd23c2de654968be347b3f2a5.tar.lz
android_bootable_recovery-edc6b52f006eda2cd23c2de654968be347b3f2a5.tar.xz
android_bootable_recovery-edc6b52f006eda2cd23c2de654968be347b3f2a5.tar.zst
android_bootable_recovery-edc6b52f006eda2cd23c2de654968be347b3f2a5.zip
Diffstat (limited to '')
-rw-r--r--screen_ui.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 58032d80b..e961c1c93 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -113,6 +113,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?
@@ -172,8 +173,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;
};