summaryrefslogtreecommitdiffstats
path: root/screen_ui.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-09 23:21:01 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-05-09 23:21:01 +0200
commit641692f11d673c14c020b8d34589c134733fba62 (patch)
tree1e984a1d6f0242f78fb65ddce0a8766688519e06 /screen_ui.h
parentMerge "updater_sample: update tools" am: daa86e9024 (diff)
parentMerge "screen_ui: Fix an issue when displaying wrapped text." (diff)
downloadandroid_bootable_recovery-641692f11d673c14c020b8d34589c134733fba62.tar
android_bootable_recovery-641692f11d673c14c020b8d34589c134733fba62.tar.gz
android_bootable_recovery-641692f11d673c14c020b8d34589c134733fba62.tar.bz2
android_bootable_recovery-641692f11d673c14c020b8d34589c134733fba62.tar.lz
android_bootable_recovery-641692f11d673c14c020b8d34589c134733fba62.tar.xz
android_bootable_recovery-641692f11d673c14c020b8d34589c134733fba62.tar.zst
android_bootable_recovery-641692f11d673c14c020b8d34589c134733fba62.zip
Diffstat (limited to 'screen_ui.h')
-rw-r--r--screen_ui.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/screen_ui.h b/screen_ui.h
index d4923f566..293696d22 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -224,8 +224,9 @@ class ScreenRecoveryUI : public RecoveryUI {
virtual void DrawTextIcon(int x, int y, GRSurface* surface) const;
// Draws multiple text lines. Returns the offset it should be moving along Y-axis.
int DrawTextLines(int x, int y, const std::vector<std::string>& 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.
+ // Similar to DrawTextLines() to draw multiple text lines, but additionally wraps long lines. It
+ // keeps symmetrical margins of 'x' at each end of a line. Returns the offset it should be moving
+ // along Y-axis.
int DrawWrappedTextLines(int x, int y, const std::vector<std::string>& lines) const;
Icon currentIcon;