Hello everyone!
Need help with a function that returns the supported modes of the monitor.
First I want to ask whether there are comands in GLBasic allow to realize it?
Revised set of compilers (both paid [Blitz3D, PureBasic, DarkBasic] and free [thinBasic]) and was surprised that everywhere, except GLBasic, these commands are present.
There will be whether such comands in future versions GLBasic? If yes, when?
Hello!
Look at this one:
http://www.glbasic.com/forum/index.php?topic=961.msg4965#msg4965
I haven't tried it but I heard others had good luck with it.
Quote from: Moru on 2010-Jan-19
Hello!
Look at this one:
http://www.glbasic.com/forum/index.php?topic=961.msg4965#msg4965
I haven't tried it but I heard others had good luck with it.
Thanks for this, but in my project it isn't useful.
What else do you require ?
For Windows (or Windows CE), you would use the aforementioned code. Unfortunately for all other platforms, its nearly impossible - for Linux, you would need to call XWindow stuff, but unfortunately you cant get the base screen ID.
For the Mac, I haven't seen any code that will do it...
Unfortunately SDL wont get a list of screen resolutions either...