summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-16 07:13:56 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-08-16 07:13:56 +0200
commitf1397b597ab7c100e0ce00cebe27bf09bb1f4424 (patch)
tree2f0d33d736341f2dad33bed9c5dd61ddd3dd9856 /screen_ui.h
parentMerge "Add a new PatchChunk class in imgdiff" am: 11214d9062 am: 5bde1d9ef8 (diff)
parentMerge "screen_ui: Word-wrap menu headers." am: 162b92323b (diff)
downloadandroid_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar
android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.gz
android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.bz2
android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.lz
android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.xz
android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.zst
android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.zip
Diffstat (limited to '')
-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