![]() |
Icon Size Constants |
Header: Files.h |
enum { kLargeIconSize = 256, kLarge4BitIconSize = 512, kLarge8BitIconSize = 1024, kSmallIconSize = 64, kSmall4BitIconSize = 128, kSmall8BitIconSize = 256 };
Large black-and-white icon with mask. Corresponding resource type: 'ICN#'.
Large 4-bit color icon. Corresponding resource type: 'icl4.
Large 8-bit color icon. Corresponding resource type: 'icl8'.
Small black-and-white icon with mask. Corresponding resource type: 'ics#'.
Small 4-bit color icon. Corresponding resource type: 'ics4'.
Small 8-bit color icon. Corresponding resource type: 'ics8'.
These constants are for allocating storage for icon data in the desktop database. For each icon type, the amount of bytes you should allocate are shown.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)