SFML community forums
Help => Graphics => Topic started by: alwayslearning on April 11, 2010, 09:09:51 pm
-
Firstly, I'd like to say, sfml is quite good. I was using HGE and decided to make the switch last week and haven't had a single regret.
I have a few questions though.
Is there a way to modify the colors of individual characters within a sf::string?
Is there a trivial method to retrieve the widest character of font set at a specific size?
And lastly a trivial method of allowing me to edit strings? Such as insert and remove characters? (otherwise, I'd have to use a std::list<char> to do it).
Thanks in advance.
-
Is there a way to modify the colors of individual characters within a sf::string?
No, you have to use one sf::String per character.
Is there a trivial method to retrieve the widest character of font set at a specific size?
Nothing trivial ;)
And lastly a trivial method of allowing me to edit strings? Such as insert and remove characters? (otherwise, I'd have to use a std::list<char> to do it).
std::string ?
-
Opps, meant string. Thanks for the timely responses.