| 347 | } |
| 348 | |
| 349 | void UITextView::wrapText( const Uint32& maxWidth ) { |
| 350 | if ( mFlags & UI_WORD_WRAP ) { |
| 351 | mTextCache.setString( mString ); |
| 352 | } |
| 353 | |
| 354 | mTextCache.setLineWrapMode( LineWrapMode::Word ); |
| 355 | mTextCache.setMaxWrapWidth( maxWidth ); |
| 356 | invalidateDraw(); |
| 357 | } |
| 358 | |
| 359 | void UITextView::onAutoSize() { |
| 360 | bool sizeChanged = false; |
nothing calls this directly
no test coverage detected