SDL_FULLSCREEN and different ratios

Hi

I develop 2d programs and games with SDL. They usually play on fullscreen with
resolutions 800x600 and 1024x768. Unfortunatelly today many people use
widescreen monitors and my programs don’t look good on them.

I added checking screen ratio before setting video and if it’s different than
in game config I run program in window. But I think it could be a good idea
to add to SDL_SetVideoMode another flags:
SDL_FULLSCREEN_4_3 - same as SDL_FULLSCREEN on 4:3 monitors, but with black
bars on others,
SDL_FULLSCREEN_16_9
SDL_FULLSCREEN_16_10
which would automatically resolve the stretching problem. What do you think?
Did you have similar problem? How did you resolve it?–
Regards,
Dominik

2008/1/14, Dominik Dagiel :

Hi

I develop 2d programs and games with SDL. They usually play on fullscreen with
resolutions 800x600 and 1024x768. Unfortunatelly today many people use
widescreen monitors and my programs don’t look good on them.

I added checking screen ratio before setting video and if it’s different than
in game config I run program in window. But I think it could be a good idea
to add to SDL_SetVideoMode another flags:
SDL_FULLSCREEN_4_3 - same as SDL_FULLSCREEN on 4:3 monitors, but with black
bars on others,
SDL_FULLSCREEN_16_9
SDL_FULLSCREEN_16_10
which would automatically resolve the stretching problem. What do you think?
Did you have similar problem? How did you resolve it?

and SDL_FULLSCREEN_5_4, and SDL_FULLSCREEN_15_9 …
I think a game should adapt itself to any screen size.
This should be pretty easy to archieve for a 2D game.
See http://www.widescreengamingforum.com/wiki/index.php/FAQ for some
useful information.–
Roman Kyrylych (??? ???)

Monday 14 of January 2008 16:32:27 Roman Kyrylych napisa?(a):

and SDL_FULLSCREEN_5_4, and SDL_FULLSCREEN_15_9 …
I think a game should adapt itself to any screen size.
This should be pretty easy to archieve for a 2D game.
See http://www.widescreengamingforum.com/wiki/index.php/FAQ for some
useful information.

Thank you.–
Dominik