Re: Named image for regular folder?
- Subject: Re: Named image for regular folder?
- From: Jonathan Dann <email@hidden>
- Date: Wed, 30 Jan 2008 22:44:41 +0000
- Delivered-to: email@hidden
- Delivered-to: email@hidden
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; bh=KNdlP/SPC6sGaTQ+hATJggkLuPqpyNOXcU7fmO0LpGM=; b=QOAnOo+UHdUk+JhYGtR81LM/9/LMYeW9+rm/i+V1y0kOKhrmsEAvviroOm8dGbpP28FUuFKdld9EOipa3/EdwlbmCys45+Q/qhcork/KYu1gkX/b5TBoz/S5dDaZXdE3HxntkzL+S7vUqAxks1Uxx9Dpa+OX2Rgqu+cYp3f/Vac=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:mime-version:subject:date:references:x-mailer; b=lHIRjRTqvjJT/5cGgQ+MtIwthk/zIYYcjln47JKX1/JklEX3fM//zYnxItYvtly7QozdKLoFBeYEgq7eOloR/YjFSCiEKIXT9Q+RpQ73wQOV0WutvfcvDQKMjqYELxBnSAB1uN8Fpx3jfsfWT0t25B5tvNQWlF0GjADHJIdFLZc=
On 30 Jan 2008, at 16:11, Jim Correia wrote:
Among the new named images available on Leopard, I see:
NSImageNameFolderBurnable
NSImageNameFolderSmart
I don't see an image name for a regular, unadorned folder. Have I
overlooked it?
Jim
Along with the suggested NSWorkspace -iconForFile you can use the
following:
NSImage *folderImage = [[[NSWorkspace sharedWorkspace]
iconForFileType:NSFileTypeForHFSTypeCode(kGenericFolderIcon)];
Jon
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.