#include <hk_colour.h>
Inheritance diagram for hk_colour:


Public Types | |
| typedef int | hk_colourtype |
Public Member Functions | |
| hk_colour (hk_colourtype red, hk_colourtype green, hk_colourtype blue) | |
| hk_colour (const 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 (xmlNodePtr definition) |
Friends | |
| istream & | operator>> (istream &, hk_colour &) |
| ostream & | operator<< (ostream &, hk_colour &) |
| bool hk_colour::set_colour | ( | hk_colourtype | red, | |
| hk_colourtype | green, | |||
| hk_colourtype | blue | |||
| ) |
sets the RGB colour. valid values are in the range 0 to 255.
| void hk_colour::savedata | ( | ostream & | s | ) | [virtual] |
stores the object's values to stream s. Especially used to store queries, forms and reports
Reimplemented from hk_class.
| void hk_colour::loaddata | ( | xmlNodePtr | definition | ) | [virtual] |
loads the object's values out of the definition string. Especially used to load queries, forms and reports
Reimplemented from hk_class.
1.5.0