Inheritance diagram for Exponent::GUI::Basics::CColour:
Definition at line 32 of file CColour.hpp.
Exponent::GUI::Basics::CColour::CColour | ( | const unsigned long | red, | |
const unsigned long | green, | |||
const unsigned long | blue | |||
) |
Construction
red | The red component | |
green | The green component | |
blue | The blue component |
Exponent::GUI::Basics::CColour::CColour | ( | ) |
Construction
Exponent::GUI::Basics::CColour::CColour | ( | const CColour & | colour | ) |
Copy construction
colour | The colour to copy |
Exponent::GUI::Basics::CColour::CColour | ( | COLORREF & | colour | ) |
Construction from a COLOURREF
colour | The colour to copy |
virtual Exponent::GUI::Basics::CColour::~CColour | ( | ) | [virtual] |
Destruction
COLORREF Exponent::GUI::Basics::CColour::getAsColourRef | ( | ) | const |
Get this as a colour ref
COLORREF | The window colourref |
unsigned long Exponent::GUI::Basics::CColour::getBlue | ( | ) | const [inline] |
Get the blue
long | The blue component |
Definition at line 166 of file CColour.hpp.
References m_blue.
Referenced by Exponent::GUI::Basics::CAlphaColour::alphaBlend().
unsigned long Exponent::GUI::Basics::CColour::getGreen | ( | ) | const [inline] |
Get the green
long | The green component |
Definition at line 160 of file CColour.hpp.
References m_green.
Referenced by Exponent::GUI::Basics::CAlphaColour::alphaBlend().
virtual void Exponent::GUI::Basics::CColour::getObjectDescription | ( | char * | string, | |
const long | size | |||
) | const [virtual] |
Get a description of the object
string | On return is filled with the description | |
size | The size of the stirng |
Reimplemented from Exponent::Basics::CCountedObject.
Reimplemented in Exponent::GUI::Basics::CAlphaColour.
unsigned long Exponent::GUI::Basics::CColour::getRed | ( | ) | const [inline] |
Get the red
long | The red component |
Definition at line 154 of file CColour.hpp.
References m_red.
Referenced by Exponent::GUI::Basics::CAlphaColour::alphaBlend().
Add two colours
colour | The colour to merge with |
CColour& | A reference to this |
Assignment operator
colour | The colour to copy |
CColour& | A reference to this |
Reimplemented in Exponent::GUI::Basics::CAlphaColour.
bool Exponent::GUI::Basics::CColour::operator== | ( | const CColour & | colour | ) |
Equality operator
colour | the colour to compare to |
bool | True if the colours are the same, false otherwise |
void Exponent::GUI::Basics::CColour::setBlue | ( | const unsigned long | blue | ) | [inline] |
Set the blue
blue | The blue component |
Definition at line 138 of file CColour.hpp.
References m_blue.
Referenced by Exponent::GUI::Basics::CAlphaColour::alphaBlend().
virtual void Exponent::GUI::Basics::CColour::setColour | ( | const unsigned long | red, | |
const unsigned long | green, | |||
const unsigned long | blue | |||
) | [virtual] |
Set the colour
red | The red component | |
green | The green component | |
blue | The blue component |
void Exponent::GUI::Basics::CColour::setFromColourRef | ( | const COLORREF & | colour | ) |
SEt from a colour
colour | The colour to copy |
void Exponent::GUI::Basics::CColour::setGreen | ( | const unsigned long | green | ) | [inline] |
Set the green
green | The green component |
Definition at line 132 of file CColour.hpp.
References m_green.
Referenced by Exponent::GUI::Basics::CAlphaColour::alphaBlend().
void Exponent::GUI::Basics::CColour::setRed | ( | const unsigned long | red | ) | [inline] |
Set the red
red | The red component |
Definition at line 126 of file CColour.hpp.
References m_red.
Referenced by Exponent::GUI::Basics::CAlphaColour::alphaBlend().
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_BLACK [static] |
Black
Definition at line 44 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_BLUE [static] |
Blue
Definition at line 48 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_DARK_GREY [static] |
Dark grey
Definition at line 55 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_GREEN [static] |
Green
Definition at line 47 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_LIGHT_GREY [static] |
Light grey
Definition at line 54 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_ORANGE [static] |
Orange
Definition at line 50 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_PINK [static] |
Pink
Definition at line 53 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_PURPLE [static] |
Purple
Definition at line 52 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_RED [static] |
Red
Definition at line 46 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_TURQUOISE [static] |
Turqoise
Definition at line 51 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_WHITE [static] |
White
Definition at line 45 of file CColour.hpp.
const CColour Exponent::GUI::Basics::CColour::CCOLOUR_YELLOW [static] |
Yellow
Definition at line 49 of file CColour.hpp.
unsigned long Exponent::GUI::Basics::CColour::m_blue [protected] |
unsigned long Exponent::GUI::Basics::CColour::m_green [protected] |
Green component
Definition at line 230 of file CColour.hpp.
Referenced by getGreen(), and setGreen().
unsigned long Exponent::GUI::Basics::CColour::m_red [protected] |