summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-16 07:16:25 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-08-16 07:16:25 +0200
commit5cfb65af5185674fbf54fb0a270dcafcc0ce0c7b (patch)
treebfcc6fa3fc874d75d7c57d0b909b2a72e295bad0 /screen_ui.h
parentMerge "Add a new PatchChunk class in imgdiff" am: 11214d9062 am: 5bde1d9ef8 am: 96b490acec (diff)
parentMerge "screen_ui: Word-wrap menu headers." am: 162b92323b am: 623bac4ed9 (diff)
downloadandroid_bootable_recovery-5cfb65af5185674fbf54fb0a270dcafcc0ce0c7b.tar
android_bootable_recovery-5cfb65af5185674fbf54fb0a270dcafcc0ce0c7b.tar.gz
android_bootable_recovery-5cfb65af5185674fbf54fb0a270dcafcc0ce0c7b.tar.bz2
android_bootable_recovery-5cfb65af5185674fbf54fb0a270dcafcc0ce0c7b.tar.lz
android_bootable_recovery-5cfb65af5185674fbf54fb0a270dcafcc0ce0c7b.tar.xz
android_bootable_recovery-5cfb65af5185674fbf54fb0a270dcafcc0ce0c7b.tar.zst
android_bootable_recovery-5cfb65af5185674fbf54fb0a270dcafcc0ce0c7b.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