Positioning a window
When using SDL with c++, can you position the window(when its not running in fullscreen) on the screen? For example, my programs have an annoying habit of opening with about a third of them being hidden beneath the bottom of the screen. I'd like to be able to have it open at the center of the screen instead.
Thanks in advance!
Im not 100% sure but i dont think its possible. Remember that SDL has to run on so many window managers, which makes it more complicated to inlcude functions like this one.
EDIT: Since its not mentioned at http://www.libsdl.org/cgi/docwiki.cgi/SDL_20API I dont think SDL has such a function.
EDIT: Since its not mentioned at http://www.libsdl.org/cgi/docwiki.cgi/SDL_20API I dont think SDL has such a function.
I asked something simulair a long time ago.
If you did a search on the forum you would have known it:
http://www.gamedev.net/community/forums/topic.asp?topic_id=319990
If you did a search on the forum you would have known it:
http://www.gamedev.net/community/forums/topic.asp?topic_id=319990
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement