Re: CGMainDisplay API alternative
Re: CGMainDisplay API alternative
- Subject: Re: CGMainDisplay API alternative
- From: Uli Kusterer <email@hidden>
- Date: Tue, 8 May 2007 00:10:14 +0200
On 07.05.2007, at 06:36, rohit dhamija wrote:
I am developing a monitor calibration application which uses EDID data
with i2c communication. It works fine with most of the single head
cards but now a days most of the cards are dual head like nVidia
GeForce 7300 GT and nVidia Quadro 4500 FX.
I don't think you're on the right mailing list, this one is for
accessibility, i.e. making the GUI usable for users with sight,
hearing and mobility problems. I think you'll have better success if
you ask this question on a CoreGraphics/Quartz-related mailing list.
I think there's one at http://lists.apple.com.
I know about CGMainDisplay, but this doesnot works for all cards.
Anyone knowing another API for finding primary port ? Or any
alternative way? Please suggest.
CGMainDisplay gives the screen currently in use. No surprise you'd
get "random" behaviour. What you'd probably want is to just get the
list of displays and query those for information. I don't know how
one would get an "EDID" from a CGDirectDisplayID, but if you already
tried that with CGMainDisplay, then you'll probably be able to figure
it out.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden