Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Get screen resolution
Print
Pages: [
1
]
Author
Topic: Get screen resolution (Read 19416 times)
0 Members and 1 Guest are viewing this topic.
doonay21
Newbie
Posts: 2
Get screen resolution
«
on:
September 07, 2011, 03:48:41 pm »
Hello there, is there any way to get the screen resolution using SFML? My game will highly depend on this, so yeah, it would be nice to get it done with SFML. Thanks in advance!
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Get screen resolution
«
Reply #1 on:
September 07, 2011, 03:50:27 pm »
The desktop resolution can be retrieved with the VideoMode::GetDesktopMode() function.
Logged
Laurent Gomila - SFML developer
doonay21
Newbie
Posts: 2
Get screen resolution
«
Reply #2 on:
September 07, 2011, 05:30:35 pm »
Meh, of course it is that easy oO Thanks a lot! BTW did I mention that I love you?
Nah, just kidding
I am just really thankful for the SFML, it is great that you made it, thanks!
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Get screen resolution
anything