Re: smaller icon
Re: smaller icon
- Subject: Re: smaller icon
- From: Dustin Voss <email@hidden>
- Date: Sat, 28 Feb 2004 13:30:07 -0800
On 27 Feb, 2004, at 1:07 PM, Eric Forget wrote:
But will this be just scaled down or the actual 16x16 representation
provided in the .icns file?
If there is a 16x16 representation it will be used.
I don't believe this is true, at least not when using NSWorkspace, and
I'd be surprised if it worked with NSFileWrapper.
NSWorkspace simply scales down the largest icon available. See
<
http://lists.apple.com/archives/cocoa-dev/2001/Nov/06/fileicon.txt>.
If you want the actual 16x16 icon, you'll probably have to use Carbon's
Icon Services.
Troy Stephens has written an Icon Family class that might help,
available at
<
http://homepage.mac.com/troy_stephens/software/objects/IconFamily/
content.html>.
_______________________________________________
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.