diff options
Diffstat (limited to 'graphics/font.h')
-rw-r--r-- | graphics/font.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/font.h b/graphics/font.h index 48330dedfa..2fd5103a99 100644 --- a/graphics/font.h +++ b/graphics/font.h @@ -175,8 +175,8 @@ public: * @param initWidth the starting width of the first line, for partially filled lines (optional) * @return the maximal width of any of the lines added to lines */ - int wordWrapText(const Common::String &str, int maxWidth, Common::Array<Common::String> &lines, int initWidth = 0) const; - int wordWrapText(const Common::U32String &str, int maxWidth, Common::Array<Common::U32String> &lines, int initWidth = 0) const; + int wordWrapText(const Common::String &str, int maxWidth, Common::Array<Common::String> &lines, int initWidth = 0, bool evenWidthLinesModeEnabled = false, bool wrapOnExplicitNewLines = true) const; + int wordWrapText(const Common::U32String &str, int maxWidth, Common::Array<Common::U32String> &lines, int initWidth = 0, bool evenWidthLinesModeEnabled = false, bool wrapOnExplicitNewLines = true) const; private: Common::String handleEllipsis(const Common::String &str, int w) const; |