///////////////////////////////////////////////////////////////////////////
| 327 | |
| 328 | //////////////////////////////////////////////////////////////////////////////// |
| 329 | sf::Text RichText::createText(const sf::String& string) const |
| 330 | { |
| 331 | sf::Text text; |
| 332 | text.setString(string); |
| 333 | text.setFillColor(m_currentFillColor); |
| 334 | text.setOutlineColor(m_currentOutlineColor); |
| 335 | text.setOutlineThickness(m_currentOutlineThickness); |
| 336 | text.setStyle(m_currentStyle); |
| 337 | text.setCharacterSize(m_characterSize); |
| 338 | if (m_font) |
| 339 | text.setFont(*m_font); |
| 340 | |
| 341 | return text; |
| 342 | } |
| 343 | |
| 344 | |
| 345 | //////////////////////////////////////////////////////////////////////////////// |
nothing calls this directly
no test coverage detected