GG::ColorDlg::ColorButton Class Reference

the button used to select the custom colors in ColorDlg. More...

#include <ColorDlg.h>

Inheritance diagram for GG::ColorDlg::ColorButton:

GG::Button GG::TextControl GG::Control GG::Wnd List of all members.

Accessors

Clr RepresentedColor () const

Mutators

void SetRepresentedColor (const Clr &color)

Structors

 ColorButton ()

Mutators

virtual void RenderUnpressed ()
virtual void RenderPressed ()
virtual void RenderRollover ()

Detailed Description

the button used to select the custom colors in ColorDlg.

Definition at line 159 of file ColorDlg.h.


Constructor & Destructor Documentation

GG::ColorDlg::ColorButton::ColorButton (  )  [protected]

default ctor


Member Function Documentation

Clr GG::ColorDlg::ColorButton::RepresentedColor (  )  const

returns the custom color represented by the button

void GG::ColorDlg::ColorButton::SetRepresentedColor ( const Clr color  ) 

sets the custom color represented by the button

virtual void GG::ColorDlg::ColorButton::RenderUnpressed (  )  [protected, virtual]

Draws the button unpressed. If an unpressed graphic has been supplied, it is used.

Reimplemented from GG::Button.

virtual void GG::ColorDlg::ColorButton::RenderPressed (  )  [protected, virtual]

Draws the button pressed. If an pressed graphic has been supplied, it is used.

Reimplemented from GG::Button.

virtual void GG::ColorDlg::ColorButton::RenderRollover (  )  [protected, virtual]

Draws the button rolled-over. If an rollover graphic has been supplied, it is used.

Reimplemented from GG::Button.


The documentation for this class was generated from the following file:
Generated on Wed Mar 26 14:35:42 2008 for GG by  doxygen 1.5.2