Finding out Dock icon size
Finding out Dock icon size
- Subject: Finding out Dock icon size
- From: leenoori <email@hidden>
- Date: Tue, 2 Jan 2007 17:35:54 +0100
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:
This email sent to email@hidden