libyui
3.4.2
|
Helper class to define an RGB color. More...
#include <YColor.h>
Public Member Functions | |
YColor (uchar red, uchar green, uchar blue) | |
Constructor. | |
YColor () | |
Default constructor: Create "undefined" color. | |
uchar | red () const |
Return the red component (0: none, 255: bright red). | |
uchar | green () const |
Return the green component (0: none, 255: bright green). | |
uchar | blue () const |
Return the blue component (0: none, 255: bright blue). | |
bool | isUndefined () const |
Return 'true' if this color is undefined. | |
bool | isDefined () const |
Return 'true' if this color is defined. | |