Public Member Functions | |
Constructor / Destructor | |
| CP_RGBColor () | |
| Constructor. | |
| CP_RGBColor (UInt16 inRed, UInt16 inGreen, UInt16 inBlue) | |
| CP_RGBColor (const CP_RGBColor &inColor) | |
| virtual | ~CP_RGBColor () |
| Destructor. | |
Getters | |
| UInt16 | red () const |
| UInt16 | green () const |
| UInt16 | blue () const |
operators | |
| bool | operator== (const CP_RGBColor &inColor) const |
| bool | operator!= (const CP_RGBColor &inColor) const |
| CP_RGBColor & | operator= (const CP_RGBColor &inColor) |
Setters | |
| void | Set (UInt16 inRed, UInt16 inGreen, UInt16 inBlue) |
| void | Set (const CP_RGBColor &inColor) |
| void | Lighten () |
| void | Darken () |
Constructor / Destructor | |
| CP_RGBColor (RGBColor inColor) | |
| Constructor. | |
Converters | |
| operator RGBColor * () | |
| operator const RGBColor * () const | |
| operator RGBColor () | |
| operator const RGBColor () const | |
Getters | |
| RGBColor | GetRGBColor () |
| RGBColor | GetRGBColor () const |
Setters | |
| void | Set (const RGBColor inColor) |
Constructor / Destructor | |
| CP_RGBColor (COLORREF inColor) | |
| Constructor. | |
Converters | |
| COLORREF | GetCOLORREF () const |
| operator COLORREF () const | |
Setters | |
| void | Set (COLORREF inColor) |
Converters | |
| GdkColor * | GetGDKColor () |
Setters | |
| void | Set (GdkColor inColor) |
Protected Attributes | |
| UInt16 | fRed |
| UInt16 | fGreen |
| UInt16 | fBlue |
| GdkColor | fGDKColor |
|
|
Constructor. Sets the color to black. |
|
||||||||||||||||
|
Constructor.
|
|
|
Copy constructor. |
|
|
Destructor. |
|
|
The Linux reprentation of a color. |
|
|
Constructor. Sets the color based on the Windows COLORREF.
|
|
|
Return the red component of the color as a UInt16. |
|
|
Return the green component of the color as a UInt16. |
|
|
Return the blue component of the color as a UInt16. |
|
|
Equality operator. Return true if the passed in CP_RGBColor is equal to this color.
|
|
|
Operator not equal. Return true if the passed in CP_RGBColor is not equal to this color.
|
|
|
Assignment operator. Assign the color components of the passed in inColor to ourselves.
|
|
||||||||||||||||
|
Set the color components to the values passed in.
|
|
|
Sets the color from the passed in CP_RGBColor object.
|
|
|
Lighten the color. |
|
|
Darken the color. |
|
|
Operator RGBColor *. Return ourselves converted to a MacOS RGBColor *. |
|
|
Operator RGBColor *. Return ourselves converted to a MacOS RGBColor * const version. |
|
|
Operator RGBColor. Return ourselves converted to a MacOS RGBColor. |
|
|
Operator RGBColor. Return ourselves converted to a MacOS RGBColor const version. |
|
|
Return ourselves converted to a MacOS RGBColor const version. |
|
|
Return ourselves converted to a MacOS RGBColor const version. |
|
|
Set the color components from the passed in MacOS RGBColor.
|
|
|
Return ourselves as a Windows COLORREF. |
|
|
COLORREF operator to return the color as a Windows COLORREF.
|
|
|
Sets the color from a Windows COLORREF. |
|
|
|
|
|
|
|
|
|
|
|
The red color component. |
|
|
The green color component. |
|
|
The blue color component. |
1.4.0