Re: Screen Resolution
Re: Screen Resolution
- Subject: Re: Screen Resolution
- From: Shawn Erickson <email@hidden>
- Date: Sun, 3 Aug 2003 13:55:53 -0700
On Sunday, August 3, 2003, at 12:12 PM, Jesus De Meyer wrote:
How can I change the screen resolution? Do I have to pop into Carbon
and do it? If so, how? Do I #import <Carbon/Carbon.h> and then just
use all the Carbon stuff as I would in C? Isn't there an example
"Carbon in Cocoa" on Apple's website?
You'll have to go to Carbon for that. What I would do, is use
DrawSprocket. It's easy to use and you can do fades, which are a nice
way to switch screen resolutions.
No don't use draw sprocket, that is an legacy API. Use Quartz Services
API to do this.
http://developer.apple.com/documentation/GraphicsImaging/Reference/
Quartz_Services_Ref/index.html
Example code can also be found on Apple's site...
http://developer.apple.com/samplecode/Sample_Code/Graphics_2D/
ModeWhacker.htm
-Shawn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.