Gwork: 0.3.0Dev
Gwk::Color Struct Reference

Public Member Functions

 Color (unsigned char r_=255, unsigned char g_=255, unsigned char b_=255, unsigned char a_=255)
 
 Color (const Color &c)
 
 Color (Color &&c)
 
void operator= (const Color &c)
 
void operator= (Color &&c)
 
void operator+= (const Color &c)
 
void operator-= (const Color &c)
 
void operator*= (float f)
 
Color operator* (float f) const
 
Color operator- (const Color &c) const
 
Color operator+ (const Color &c) const
 
bool operator== (const Color &c) const
 

Public Attributes

union {
uint32_t rgba
 
   struct {
unsigned char r
 
unsigned char g
 
unsigned char b
 
unsigned char a
 
   } 
 
}; 
 

The documentation for this struct was generated from the following file: