summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-16 07:10:55 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-08-16 07:10:55 +0200
commitae0af3711142227547803641da78bf6fa7877579 (patch)
tree3a95c5b7ab72d865be55609019f315d26b29766a /screen_ui.h
parentMerge "Add a new PatchChunk class in imgdiff" am: 11214d9062 (diff)
parentMerge "screen_ui: Word-wrap menu headers." (diff)
downloadandroid_bootable_recovery-ae0af3711142227547803641da78bf6fa7877579.tar
android_bootable_recovery-ae0af3711142227547803641da78bf6fa7877579.tar.gz
android_bootable_recovery-ae0af3711142227547803641da78bf6fa7877579.tar.bz2
android_bootable_recovery-ae0af3711142227547803641da78bf6fa7877579.tar.lz
android_bootable_recovery-ae0af3711142227547803641da78bf6fa7877579.tar.xz
android_bootable_recovery-ae0af3711142227547803641da78bf6fa7877579.tar.zst
android_bootable_recovery-ae0af3711142227547803641da78bf6fa7877579.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