MCPcopy Create free account
hub / github.com/TankOs/SFGUI / GetWrappedText

Method GetWrappedText

src/SFGUI/Label.cpp:62–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

CreateLabelDrawableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected