Thread
:
Playable Dungeon Master/Chaos Strikes Back!
View Single Post
fanoush
2006-09-02 , 17:59
Posts: 2,152 | Thanked: 1,490 times | Joined on Jan 2006 @ Czech Republic
#
16
Fullscreen should be just matter of calling SDL_WM_ToggleFullScreen when you receive SDLK_F6 key.
Something like
Code:
case SDL_KEYDOWN: if (ev.key.keysym.sym == SDLK_F6) SDL_WM_ToggleFullScreen(surface);
And yes, smaller screens are centered automatically.
Quote & Reply
|
fanoush
View Public Profile
Send a private message to fanoush
Visit fanoush's homepage!
Find all posts by fanoush