diff options
author | Tao Bao <tbao@google.com> | 2017-08-16 07:02:05 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-08-16 07:02:05 +0200 |
commit | 162b92323bdcb13baf619450d994f5045f1ee195 (patch) | |
tree | 62656a73a7ef12dce8e7c83a825cb6a267495278 /screen_ui.h | |
parent | Merge "Add a new PatchChunk class in imgdiff" (diff) | |
parent | screen_ui: Word-wrap menu headers. (diff) | |
download | android_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.h | 3 |
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 |