#include <ColorDlg.h>
Inheritance diagram for GG::ColorDlg::ColorDisplay:
Structors | |
ColorDisplay (Clr color) | |
Accessors | |
virtual void | Render () |
Structors | |
ColorDisplay () |
The color is shown in full alpha in the upper-left portion of the rectangle, and the color is shown in its given alpha in the lower-left of the rectangle.
Definition at line 198 of file ColorDlg.h.
GG::ColorDlg::ColorDisplay::ColorDisplay | ( | Clr | color | ) |
ctor.
GG::ColorDlg::ColorDisplay::ColorDisplay | ( | ) | [protected] |
default ctor
virtual void GG::ColorDlg::ColorDisplay::Render | ( | ) | [virtual] |
draws this Wnd.
Note that Wnds being dragged for a drag-and-drop operation are rendered twice -- once in-place as normal, once in the location of the drag operation, attached to the cursor. Such Wnds may wish to render themselves differently in those two cases. To determine which render is being performed, they can call GUI::GetGUI()->RenderingDragDropWnds().
Implements GG::Control.