SFML community forums

Help => Graphics => Topic started by: LucasShadow on December 29, 2011, 05:47:17 am

Title: Displaying a status
Post by: LucasShadow on December 29, 2011, 05:47:17 am
So I have been messing around with trying to get the status of the music status to display as text.  I have no trouble displaying text, or getting the status, its getting the status to display as text on my screen thats the problem.  Any help would be much appreciated :)

-Lucas Shadow
Title: Re: Displaying a status
Post by: Nexus on December 29, 2011, 10:29:01 am
You can't convert enumerators to strings, so you have to write a case differentiation where you assign manually a string to every sf::Music::Status value.
Title: Displaying a status
Post by: LucasShadow on December 29, 2011, 05:10:09 pm
Alright man, thanks. I have it working now ;)