mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
COMMON: Explain new params for wordWrapText()
This commit is contained in:
parent
1bca3de594
commit
4630895ccc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user