#include <hk_colour.h>
Inheritance diagram for hk_colour:
Public Types | |
typedef int | hk_colourtype |
Public Member Functions | |
hk_colour (void) | |
hk_colour (hk_colourtype red, hk_colourtype green, hk_colourtype blue) | |
hk_colour (const hk_colour &) | |
virtual | ~hk_colour () |
bool | set_colour (hk_colourtype red, hk_colourtype green, hk_colourtype blue) |
hk_colourtype | red (void) const |
hk_colourtype | green (void) const |
hk_colourtype | blue (void) const |
bool | operator= (const hk_colour &) |
bool | operator== (const hk_colour &) |
bool | operator!= (const hk_colour &) |
virtual void | savedata (ostream &s) |
virtual void | loaddata (const hk_string &definition) |
Friends | |
istream & | operator>> (istream &, hk_colour &) |
ostream & | operator<< (ostream &, hk_colour &) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loads the object's values out of the definition string. Especially used to load queries, forms and reports Reimplemented from hk_class. |
|
|
|
|
|
|
|
|
|
stores the object's values to stream s. Especially used to store queries, forms and reports Reimplemented from hk_class. |
|
sets the RGB colour. valid values are in the range 0 to 255.
|
|
|
|
|