summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-16 07:02:05 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-08-16 07:02:05 +0200
commit162b92323bdcb13baf619450d994f5045f1ee195 (patch)
tree62656a73a7ef12dce8e7c83a825cb6a267495278 /screen_ui.h
parentMerge "Add a new PatchChunk class in imgdiff" (diff)
parentscreen_ui: Word-wrap menu headers. (diff)
downloadandroid_bootable_recovery-162b92323bdcb13baf619450d994f5045f1ee195.tar
android_bootable_recovery-162b92323bdcb13baf619450d994f5045f1ee195.tar.gz
android_bootable_recovery-162b92323bdcb13baf619450d994f5045f1ee195.tar.bz2
android_bootable_recovery-162b92323bdcb13baf619450d994f5045f1ee195.tar.lz
android_bootable_recovery-162b92323bdcb13baf619450d994f5045f1ee195.tar.xz
android_bootable_recovery-162b92323bdcb13baf619450d994f5045f1ee195.tar.zst
android_bootable_recovery-162b92323bdcb13baf619450d994f5045f1ee195.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/screen_ui.h b/screen_ui.h
index 8402fac00..df7cc25b3 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -187,6 +187,9 @@ class ScreenRecoveryUI : public RecoveryUI {
virtual int DrawTextLine(int x, int y, const char* line, bool bold) const;
// Draws multiple text lines. Returns the offset it should be moving along Y-axis.
int DrawTextLines(int x, int y, const char* const* lines) const;
+ // Similar to DrawTextLines() to draw multiple text lines, but additionally wraps long lines.
+ // Returns the offset it should be moving along Y-axis.
+ int DrawWrappedTextLines(int x, int y, const char* const* lines) const;
};
#endif // RECOVERY_UI_H