From 4630895ccc36a86ff3d3908e7127a063f98e6c6f Mon Sep 17 00:00:00 2001 From: Thanasis Antoniou Date: Wed, 31 Jul 2019 16:48:44 +0300 Subject: COMMON: Explain new params for wordWrapText() --- graphics/font.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics') 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 &lines, int initWidth = 0, bool evenWidthLinesModeEnabled = false, bool wrapOnExplicitNewLines = true) const; -- cgit v1.2.3