Пример #1
0
//********************************************
// Set
//********************************************
void CColor::Set(CColor &c)
{
	m_Red = c.r();
	m_Green = c.g();
	m_Blue = c.b();
	m_Alpha = c.a();
}
Пример #2
0
 bool operator==(const CColor& rhs) const {
   return (r() == rhs.r() && g() == rhs.g() && b() == rhs.b() && a() == rhs.a());
 }