libyui  3.3.2
YColor Class Reference

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.
 

Detailed Description

Helper class to define an RGB color.

Definition at line 34 of file YColor.h.


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