SFML community forums
Help => General => Topic started by: KZ on September 20, 2012, 12:17:28 pm
-
Hi!
Great job, this library.
I use it and I make the library version appear in the 'About' sections of my softwares.
But I am a bit lazy and I did not find any function that returns the version of the SFML lib used.
Does it exist?
Otherwise, is it planned to implement one in the future versions of SFML libs? (it could be a good idea)
Thanks.
KZ.
-
Yes SFML_VERSION_MAJOR and SFML_VERSION_MINOR see here (https://github.com/SFML/SFML/blob/master/include/SFML/Config.hpp).
-
Sorry I didn't find it.
I really searched for it, though.
Thanks a lot!
KZ
-
I don't know whether the macros are mentioned anywhere in the documentation or the tutorials, so you actually already have to know it ;)