Re: NSWindowDepth Encoding
Re: NSWindowDepth Encoding
- Subject: Re: NSWindowDepth Encoding
- From: Fritz Anderson <email@hidden>
- Date: Wed, 18 Jun 2003 15:43:30 -0500
On Wednesday, June 18, 2003, at 10:24 AM, Henry McGilton wrote:
>
Does anybody know how an NSWindowDepth parameter is encoded?
>
I can find plenty of functions to obtain information from
>
an NSWindowDepth, but nothing on how to construct one.
>
NSGraphics.h says:
>
Window depths should not be made persistent as they will not be the
>
same across systems.
Which says to me that there is no encoding (necessarily) going on;
NSWindowDepth is most likely an index into a table of supported pixmap
environments, with the tables varying among machines and across
releases of the operating system. Calling NSBestDepth() is the only way
to get an NSWindowDepth, given a set of functional requirements.
-- F
--
Fritz Anderson - Consulting Programmer - Chicago, IL
Mail: <email@hidden>
Risumi: <
http://resume.manoverboard.org>
_______________________________________________
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.