LIconPane is a PowerPlant class that is used for drawing a single icon from an icon family.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Operation:
Because this class uses the Mac OS icon-handling routines, an LIconPane object draws the member of the icon family that best fits the color settings and pixel depth of the current device.
Source files:
Ancestors:
Purpose:
The constructors create objects from the passed-in parameters.
Access:
Prototype:
LIconPane();
LIconPane( const SPaneInfo &inPaneInfo,
ResIDT inIconID );
LIconPane( LStream *inStream );Parameters:
These constructors have the following parameters:
Purpose:
The destructor destroys the object.
Access:
Prototype:
virtual ~LIconPane();
Purpose:
Draws the icon. This is an override of DrawSelf() in LPane.
Access:
Prototype:
virtual void DrawSelf();Parameters:
Return:
Purpose:
Access:
Prototype:
void SetIconID( ResIDT inIconID );Parameters:
These constructors have the following parameters:
Return:
Purpose:
Storage for the icon resource ID.
Access:
Prototype:
ResIDT mIconID;