AGL - Possible resolutions

Member
Posts: 567
Joined: 2004.07
Post: #1
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.

It's not magic, it's Ruby.
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
use CGDirectDisplay. Cocoa code is here, though it's a bit more complex than you really need: http://onesadcookie.com/svn/repos/GameShell/Source/
Quote this message in a reply
Moderator
Posts: 613
Joined: 2004.09
Post: #3
I have source code I can send you as well if you would like. Also you to select all useable displays from a window.

Kyle Richter
DragonForged.com
Twitter: @kylerichter
Quote this message in a reply
Member
Posts: 567
Joined: 2004.07
Post: #4
If you could, I would be eternally grateful.

It's not magic, it's Ruby.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Question about resolutions NelsonMandella 20 6,510 Mar 11, 2009 11:02 PM
Last Post: AnotherJake