I have a QT-based app which has a full screen mode feature. QT's full screen feature works by resizing the application window to the size of the desktop (the virtual desktop if you are using one), and removing window borders. It's OK, but I'd really like a mechanism to be able to switch to other screen resolutions as well.
Does anyone know of an API which will let me:
- Get a list of available resolutions
- Switch to a new resolution
- The kicker: Is cross platform (win/osx/linux/other *nix)
It's the last criteria which is the real killer. The app used to use SDL for the main application window (and as such used to have this functionality), but I would very much like to drop the dependency to SDL and instead use a much smaller library which just does screen resolution switching. SDL is also somewhat unsuitable because it can only switch between full screen and windowed mode at start time on OSX and Windows, and I would like to be able to make this switch at any time.