//******************************************** // Set //******************************************** void CColor::Set(CColor &c) { m_Red = c.r(); m_Green = c.g(); m_Blue = c.b(); m_Alpha = c.a(); }
bool operator==(const CColor& rhs) const { return (r() == rhs.r() && g() == rhs.g() && b() == rhs.b() && a() == rhs.a()); }