26 friend istream& operator>>(istream&,
hk_colour&);
27 friend ostream& operator<<(ostream&,
hk_colour&);
30 typedef int hk_colourtype ;
33 hk_colour(hk_colourtype red, hk_colourtype green, hk_colourtype blue);
40 bool set_colour(hk_colourtype red, hk_colourtype green, hk_colourtype blue);
41 hk_colourtype red(
void)
const;
42 hk_colourtype green(
void)
const;
43 hk_colourtype blue(
void)
const;
49 virtual void loaddata(xmlNodePtr definition);
57 hk_colourtype p_green;
63 ostream& operator<<(ostream&,
const hk_colour&);
71 const hk_colour hk_darkgrey(0xA9,0xA9,0xA9);
72 const hk_colour hk_darkyellow(0xEE,0xCA,0x16);
75 const hk_colour hk_lightgrey(0xD3,0xD3,0xD3);
basic class for all other defined classes.
Definition: hk_class.h:52
virtual void loaddata(xmlNodePtr definition)
Definition: hk_colour.cpp:123
bool set_colour(hk_colourtype red, hk_colourtype green, hk_colourtype blue)
Definition: hk_colour.cpp:42
represents a RGB-colour
Definition: hk_colour.h:24
virtual void savedata(ostream &s)
Definition: hk_colour.cpp:108