///////////////////////////////////////////////////////////////////////////
| 41 | |
| 42 | //////////////////////////////////////////////////////////////////////////////// |
| 43 | void RichText::Line::appendText(sf::Text text) |
| 44 | { |
| 45 | // Set text offset |
| 46 | updateTextAndGeometry(text); |
| 47 | |
| 48 | // Push back |
| 49 | m_texts.push_back(std::move(text)); |
| 50 | } |
| 51 | |
| 52 | |
| 53 | //////////////////////////////////////////////////////////////////////////////// |