|
Public Member Functions |
|
| Color (unsigned long pixel) |
|
| Color (const Color &col_copy) |
|
| Color (unsigned short red, unsigned short green, unsigned short blue, int screen) |
|
| Color (const char *color_string, int screen) |
| | parses and sets rgb and pixel value from a string
|
|
bool | setFromString (const char *color_string, int screen) |
| | parses and sets rgb and pixel value from a string
|
|
void | setPixel (unsigned long pixel) |
| | TODO don't like this.
|
|
bool | isAllocated () const |
|
unsigned short | red () const |
|
unsigned short | green () const |
|
unsigned short | blue () const |
|
unsigned long | pixel () const |