#include <vdkutils.h>
| VDKRgb::VDKRgb | ( | int | r = 0, |
|
| int | g = 0, |
|||
| int | b = 0 | |||
| ) | [inline] |
Constructor
| r | red component (0-256) | |
| g | green component | |
| b | blue component |
| VDKRgb::~VDKRgb | ( | ) | [inline] |
Destructor
| VDKRgb::VDKRgb | ( | char * | name | ) | [inline] |
Constructor
| name | names are those provided in rgb X database (normally on /usr/lib/X11/rgb.txt ) |
| bool VDKRgb::IsValid | ( | ) | const [inline] |
Returns true if a valid color was loaded
| bool VDKRgb::operator== | ( | VDKRgb & | c | ) | const [inline] |
Equality operator
1.5.1