PDA

View Full Version : AGL - Possible resolutions


Duane
2005.05.05, 05:47 PM
is there anyway to get the possible resolutions for a display using AGL/CGL/Carbon/Cocoa?

sorry for so many posts lately; I've been having alot of trouble and i'm really tired. I have a project due in a day, and I'm polishing it up.

OneSadCookie
2005.05.05, 06:09 PM
use CGDirectDisplay. Cocoa code is here, though it's a bit more complex than you really need: http://onesadcookie.com/svn/repos/GameShell/Source/

kodex
2005.05.05, 06:19 PM
I have source code I can send you as well if you would like. Also you to select all useable displays from a window.

Duane
2005.05.05, 06:47 PM
If you could, I would be eternally grateful.