///////////////////////////////////////////////////////////////////////////
| 267 | |
| 268 | //////////////////////////////////////////////////////////////////////////////// |
| 269 | sf::Text RichText::createText(const sf::String& string, const Color& color, |
| 270 | const Color& outline, unsigned int thickness, sf::Text::Style style) const |
| 271 | { |
| 272 | sf::Text text; |
| 273 | text.setString(string); |
| 274 | text.setFillColor(color); |
| 275 | text.setOutlineColor(outline); |
| 276 | text.setOutlineThickness(thickness); |
| 277 | text.setStyle(style); |
| 278 | text.setCharacterSize(m_characterSize); |
| 279 | if (m_font) |
| 280 | text.setFont(m_font); |
| 281 | |
| 282 | return text; |
| 283 | } |
| 284 | |
| 285 | //////////////////////////////////////////////////////////////////////////////// |
| 286 | void RichText::updateGeometry() const |
nothing calls this directly
no test coverage detected