Re: Change screen resolution
Re: Change screen resolution
- Subject: Re: Change screen resolution
- From: Mike Paquette <email@hidden>
- Date: Fri, 9 Apr 2004 13:01:04 -0700
On Apr 9, 2004, at 12:18 PM, Denis Vaillant wrote:
I am programming a game and I need to change the resolution. I didn't
found
how to switch screen resolution in cocoa. Does anyone can tell me what
is
the method to do so (or the class) ?
Use Quartz Services. Quartz Services is a C API, but is Cocoa-friendly.
http://developer.apple.com/documentation/GraphicsImaging/Reference/
Quartz_Services_Ref/index.html
See also the example code modewhacker.c, coded by Dr. Evil himself:
http://developer.apple.com/samplecode/ModeWhacker/listing1.html
Just add error checking...
_______________________________________________
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.