GG
|
A simple control that only displays a rectangle filled with the given color. More...
#include <ColorDlg.h>
Structors | |
ColorDisplay (Clr color) | |
ColorDisplay () | |
Accessors | |
virtual void | Render () |
A simple control that only displays a rectangle filled with the given color.
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 199 of file ColorDlg.h.
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.