| 989 | } |
| 990 | |
| 991 | void FormattedTextBlock::SetWrapping(bool value) |
| 992 | { |
| 993 | if (((_flags & FormattedTextBlockFlags::Wrapping) == FormattedTextBlockFlags::Wrapping) == value) { |
| 994 | return; |
| 995 | } |
| 996 | |
| 997 | if (value) { |
| 998 | _flags |= FormattedTextBlockFlags::Wrapping; |
| 999 | } else { |
| 1000 | _flags &= ~FormattedTextBlockFlags::Wrapping; |
| 1001 | } |
| 1002 | _parts.clear(); |
| 1003 | _background.clear(); |
| 1004 | } |
| 1005 | |
| 1006 | Colorf FormattedTextBlock::Uint32ToColorf(std::uint32_t value) |
| 1007 | { |
no test coverage detected