diff options
author | Tao Bao <tbao@google.com> | 2018-05-09 23:11:09 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-09 23:11:09 +0200 |
commit | 1d4ef4ba4b1955241bde4dce81441a4bf379bcfa (patch) | |
tree | 30377e26ac631aaedbb1c6b66b03c278fd524e58 /screen_ui.h | |
parent | Merge "updater_sample: update tools" (diff) | |
parent | screen_ui: Fix an issue when displaying wrapped text. (diff) | |
download | android_bootable_recovery-1d4ef4ba4b1955241bde4dce81441a4bf379bcfa.tar android_bootable_recovery-1d4ef4ba4b1955241bde4dce81441a4bf379bcfa.tar.gz android_bootable_recovery-1d4ef4ba4b1955241bde4dce81441a4bf379bcfa.tar.bz2 android_bootable_recovery-1d4ef4ba4b1955241bde4dce81441a4bf379bcfa.tar.lz android_bootable_recovery-1d4ef4ba4b1955241bde4dce81441a4bf379bcfa.tar.xz android_bootable_recovery-1d4ef4ba4b1955241bde4dce81441a4bf379bcfa.tar.zst android_bootable_recovery-1d4ef4ba4b1955241bde4dce81441a4bf379bcfa.zip |
Diffstat (limited to '')
-rw-r--r-- | screen_ui.h | 5 |
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; |