Re: Finding out Dock icon size
Re: Finding out Dock icon size
- Subject: Re: Finding out Dock icon size
- From: Michael Watson <email@hidden>
- Date: Tue, 2 Jan 2007 11:53:27 -0500
Right now in Tiger, the max is 128x128, so it doesn't really matter.
In Leopard, this may change. However, everyone who can tell you this
is under NDA, and can't talk about it here.
--
m-s
On 02 Jan, 2007, at 11:35, leenoori wrote:
Icons shown in the Finder and the Dock are currently limited to 128
pixels high/wide, but with the move towards resolution independence
I have seen at least a couple of references to icons of 256 by 256
pixels in Mac OS X.
Is there any way to programmatically find out what the maximum
display size of a an icon is? For example, when I call
setApplicationIcon: I am currently passing a 128 by 128 NSImage,
but I'd like to programmatically detect when it would be
appropriate to supply more detailed icons. If I can find out a way
to determine this at runtime then I can support arbitrarily large
icons; I would prefer not to hard-code sizes at compile time.
Thanks :-)
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
40bungie.org
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden