示例#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
文件: CColor.hpp 项目: AxioDL/zeus
 bool operator==(const CColor& rhs) const {
   return (r() == rhs.r() && g() == rhs.g() && b() == rhs.b() && a() == rhs.a());
 }