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.

Structors



 ColorButton (const Clr &color)

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 157 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 Sat Mar 26 07:08:37 2011 for GG by  doxygen 1.5.9