| 60 | } |
| 61 | |
| 62 | sf::String Label::GetWrappedText() const { |
| 63 | if( !m_wrap ) { |
| 64 | return m_text; |
| 65 | } |
| 66 | |
| 67 | return m_wrapped_text; |
| 68 | } |
| 69 | |
| 70 | void Label::WrapText() { |
| 71 | const std::string& font_name( Context::Get().GetEngine().GetProperty<std::string>( "FontName", shared_from_this() ) ); |