LCicnButton is a PowerPlant class that is very similar to LButton. It is different from LButton in that it uses the Mac OS `cicn' color icon resource format as the graphical element in the button.
Methods :
The methods in this class are:
Data Members:
The data members in this class are:
Operation:
As with the LButton class, you provide resource ID numbers for the button in both its normal and pushed states.
Source files:
See also:
Purpose:
The constructors create new objects from the passed-in parameters.
Access:
Prototype:
LCicnButton();
LCicnButton( const LCicnButton &inOriginal );
LCicnButton( const SPaneInfo &inPaneInfo,
MessageT inClickedMessage,
ResIDT inNormalID,
ResIDT inPushedID );
LCicnButton( LStream *inStream );Parameters:
These constructors have the following parameters:
Purpose:
The destructor destroys the object.
Access:
Prototype:
virtual ~LCicnButton();Parameters:
Purpose:
This method behaves just like the one in LCicnButton() named DrawSelf(), except it draws a `cicn' button instead.
Purpose:
This method behaves just like the one in LCicnButton() named HotSpotAction(), except it works for a `cicn' button instead.
Purpose:
This method behaves just like the one in LCicnButton() named HotSpotResult(), except it works for a `cicn' button instead.
Purpose:
Specify new ID's for the normal and pushed 'cicn' resources.
Access:
Prototype:
virtual void SetCicns( ResIDT inNormalID,Parameters:
ResIDT inPushedID);
The parameters for this method are:
Return:
Purpose:
This data member is just like the one in LButton named mNormalID, except it is for `cicn' buttons.
Purpose:
This data member is just like the one in LButton named mPushedID, except it is for `cicn' buttons.
Purpose:
This data member holds a handle to the resource for the normal
`cicn'.
Access:
Prototype:
CIconHandle mNormalCicnH;
Purpose:
This data member holds a handle to the resource for the pushed
`cicn'.
Access:
Prototype:
CIconHandle mPushedCicnH;