* Enables/disables text wordwrapping. When enabled, lines of * text are automatically split to ensure they stay within the * drawing area, otherwise they simply go off the edge. * @param wrap Wordwrapping setting. * @param indent Indent wrapped text. */
| 187 | * @param indent Indent wrapped text. |
| 188 | */ |
| 189 | void Text::setWordWrap(bool wrap, bool indent) |
| 190 | { |
| 191 | if (wrap != _wrap || indent != _indent) |
| 192 | { |
| 193 | _wrap = wrap; |
| 194 | _indent = indent; |
| 195 | processText(); |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | /** |
| 200 | * Enables/disables color inverting. Mostly used to make |
no outgoing calls