ColorSet class


The ColorSet class provides an easy manner to manage system attribute colors, such as window tabs, panel background colors, etc. Each member is an RGBColor. The attributes are list below and are publicly accessible.


panel_background

panel_text

document_background

document_text

control_background

control_text

control_border

control_highlight

tooltip_background

tooltip_text

menu_background

menu_selected_background

menu_text

menu_selected_text

menu_separator_high

menu_separator_low

menu_triggers

window_tab

window_tab_text

inactive_window_tab

inactive_window_tab_text

keyboard_navigation

desktop





Member Functions


ColorSet(void)

ColorSet(const ColorSet &cs)

ColorSet & operator=(const ColorSet &cs)

void SetColors(const ColorSet &cs)

void PrintToStream(void)

 






ColorSet(void)


Does nothing.



ColorSet(const ColorSet &cs)

ColorSet & operator=(const ColorSet &cs)


Calls SetColors on the passed ColorSet object



void SetColors(const ColorSet &cs)


Copies all data members of the passed color set to those of the current one



void PrintToStream(void)


Prints the name of each attribute color and then calls the color's PrintToStream member.