View Full Version : Obtaining Supported Screen Resolutions
Volte
2005.09.11, 02:59 AM
Is there a C/++ function for obtaining the allowed screen resolutions of the client computer? (Return Int would be nice)
Volte
2005.09.11, 05:20 AM
Alright I think I KINDA figured it out. Still not sure if I can get a list of supported resolutions. Obviously I want to implement a dynamic menu (dynamic depending on what system its being run on) which lists the resolutions the graphics card and the monitor can handle... anyway, here is what I found:
http://www.lighthouse3d.com/opengl/glut/index.php?gameglut
OneSadCookie
2005.09.11, 05:23 AM
see /System/Library/Frameworks/ApplicationServices.framework/Frameworks/CoreGraphics.framework/Headers/CGDirectDisplay.h
Fenris
2005.09.11, 05:28 AM
Nope, C/C++ doesn't know anything about hardware. If you want to grab the resolution on a Mac, try looking at CoreGraphics. If you decided to go with SDL, SDL has functions for that too.
Volte
2005.09.11, 07:05 AM
Oh... Ok, I just posted something about my misunderstanding as far as SDL vs GLUT. Maybe you could help me answer that: http://www.idevgames.com/forum/showthread.php?p=97152
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.