ADTF_DISPLAY_TOOLBOX
3.8.0 (ADTF 3.14.3)
|
Interface for color representation. More...
Public Member Functions | |
virtual | ~IColor () |
virtual destructor to ensure proper cleanup. | |
virtual tVoid | Release ()=0 |
Releases this color. | |
virtual tUInt32 | GetRGBA () const =0 |
Gets a four Byte value containing the 3 color channels and the alpha channel. More... | |
virtual tVoid | SetRGBA (tUInt32 nRGBA)=0 |
Sets a four Byte value containing the 3 Color channels and the alpha channel with the given value. More... | |
virtual tUInt8 | GetRed () const =0 |
Returns the value for the red channel. More... | |
virtual tVoid | SetRed (tUInt8 nRedValue)=0 |
Sets the value of the red channel. More... | |
virtual tUInt8 | GetGreen () const =0 |
Returns the value for the green channel. More... | |
virtual tVoid | SetGreen (tUInt8 nGreenValue)=0 |
Sets the value of the green channel. More... | |
virtual tUInt8 | GetBlue () const =0 |
Returns the value for the blue channel. More... | |
virtual tVoid | SetBlue (tUInt8 nBlueValue)=0 |
Sets the value of the blue channel. More... | |
virtual tUInt8 | GetAlpha () const =0 |
This function returns the value for the alpha channel. More... | |
virtual tVoid | SetAlpha (tUInt8 nAlphaValue)=0 |
Sets the value of the alpha channel. More... | |
virtual tUInt8 | GetBrightness () const =0 |
This function returns the value for a calculated brightness. More... | |
Interface for color representation.
Definition at line 26 of file color_intf.h.
|
pure virtual |
This function returns the value for the alpha channel.
Implemented in cColor.
Referenced by cColor::cColor().
|
pure virtual |
Returns the value for the blue channel.
Implemented in cColor.
Referenced by cColor::cColor().
|
pure virtual |
This function returns the value for a calculated brightness.
Implemented in cColor.
|
pure virtual |
Returns the value for the green channel.
Implemented in cColor.
Referenced by cColor::cColor().
|
pure virtual |
Returns the value for the red channel.
Implemented in cColor.
Referenced by cColor::cColor().
|
pure virtual |
Gets a four Byte value containing the 3 color channels and the alpha channel.
Implemented in cColor.
|
pure virtual |
Sets the value of the alpha channel.
nAlphaValue | [in] value for the alpha channel |
Implemented in cColor.
|
pure virtual |
Sets the value of the blue channel.
nBlueValue | [in] value for the blue channel |
Implemented in cColor.
|
pure virtual |
Sets the value of the green channel.
nGreenValue | [in] value for the green channel |
Implemented in cColor.
|
pure virtual |
Sets the value of the red channel.
nRedValue | [in] value for the red channel |
Implemented in cColor.
|
pure virtual |
Sets a four Byte value containing the 3 Color channels and the alpha channel with the given value.
nRGBA | [in] four Byte value |
Implemented in cColor.