Carbon


IconFamilyElement

Header: Icons.h

Contains data describing individual icon types obtained from an 'icns' resource.

struct IconFamilyElement {
    OSType elementType; 
    Size elementSize; 
    UInt8 elementData[1];
};

Field descriptions

elementType

This four-character code specifies which type of icon resource (icl8, for example) is described by this particular element.

elementSize

This value specifies the size of the data contained in the elementData field plus 8 bytes; that is, the total size of the element.

elementData

These values define the icon family element specified in this structure.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)