Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Displaying a status
Print
Pages: [
1
]
Author
Topic: Displaying a status (Read 1320 times)
0 Members and 1 Guest are viewing this topic.
LucasShadow
Jr. Member
Posts: 52
Displaying a status
«
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
Logged
Nexus
SFML Team
Hero Member
Posts: 6287
Thor Developer
Re: Displaying a status
«
Reply #1 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.
Logged
Zloxx II
: action platformer
Thor Library
: particle systems, animations, dot products, ...
SFML Game Development
:
LucasShadow
Jr. Member
Posts: 52
Displaying a status
«
Reply #2 on:
December 29, 2011, 05:10:09 pm »
Alright man, thanks. I have it working now
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Displaying a status
anything