| 651 | } |
| 652 | |
| 653 | void UITooltip::wrapText( const Uint32& maxWidth ) { |
| 654 | if ( mFlags & UI_WORD_WRAP ) { |
| 655 | mTextCache->setString( mStringBuffer ); |
| 656 | } |
| 657 | |
| 658 | mTextCache->setLineWrapMode( LineWrapMode::Word ); |
| 659 | mTextCache->setMaxWrapWidth( maxWidth ); |
| 660 | invalidateDraw(); |
| 661 | } |
| 662 | |
| 663 | void UITooltip::setWordWrap( bool set ) { |
| 664 | if ( set != isWordWrap() ) { |
nothing calls this directly
no test coverage detected