-// Colour
-
-wxColour::wxColour ()
-{
- m_isInit = FALSE;
- m_pixel = 0;
- m_red = m_blue = m_green = 0;
-}
-
-wxColour::wxColour (const unsigned char r, const unsigned char g, const unsigned char b)
-{
- m_red = r;
- m_green = g;
- m_blue = b;
- m_isInit = TRUE;
- m_pixel = PALETTERGB (m_red, m_green, m_blue);
-}
-
-wxColour::wxColour (const wxColour& col)
-{
- m_red = col.m_red;
- m_green = col.m_green;
- m_blue = col.m_blue;
- m_isInit = col.m_isInit;
- m_pixel = col.m_pixel;
-}
-
-wxColour& wxColour::operator =(const wxColour& col)
-{
- m_red = col.m_red;
- m_green = col.m_green;
- m_blue = col.m_blue;
- m_isInit = col.m_isInit;
- m_pixel = col.m_pixel;
- return *this;
-}