diff options
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/font.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/font.h b/graphics/font.h index 2fd5103a99..d9f81cca8c 100644 --- a/graphics/font.h +++ b/graphics/font.h @@ -173,6 +173,8 @@ public: * @param maxWidth the maximum width a line may have * @param lines the string list to which the text lines from str are appended * @param initWidth the starting width of the first line, for partially filled lines (optional) + * @param evenWidthLinesModeEnabled if enabled, the resulting line segments will be close to the same width (optional) + * @param wrapOnExplicitNewLines if enabled, forces wrapping on new line characters, otherwise treats them as single white space (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, bool evenWidthLinesModeEnabled = false, bool wrapOnExplicitNewLines = true) const; |