1
C / Text Wrapping after length
« on: November 26, 2014, 07:33:04 pm »
I'm trying to display text on the screen which is being pulled from a string. Of course the string is long and I'm looking to wrap it after a length or word count.
Any ideas?
Any ideas?
sf::Text text;
text.setFont(font);
text.setCharacterSize(12);
text.setColor(sf::Color::White);
text.setPosition(20, 20);
text.setString(string);
text.setFont(font);
text.setCharacterSize(12);
text.setColor(sf::Color::White);
text.setPosition(20, 20);
text.setString(string);