31
General / How to draw a part of sf::String
« on: December 12, 2008, 12:38:47 pm »
Im creating a little gui lib, and i dont know how i can draw a part of my sf::String.
For example:
My textBox(sf::String) will have the text: 1234567890ABC, but i want show only a part of it, only the last 5 digits: 90ABC.
How i do it?
For example:
My textBox(sf::String) will have the text: 1234567890ABC, but i want show only a part of it, only the last 5 digits: 90ABC.
How i do it?