///////////////////////////////////////////////////////////////////////////
| 169 | |
| 170 | //////////////////////////////////////////////////////////////////////////////// |
| 171 | void RichText::clear() |
| 172 | { |
| 173 | // Clear texts |
| 174 | m_lines.clear(); |
| 175 | |
| 176 | // Reset bounds |
| 177 | m_bounds = sf::FloatRect(); |
| 178 | } |
| 179 | |
| 180 | RichText& RichText::append(const Text& text) |
| 181 | { |