#include <mgui/colorbtn.h>
Inheritance diagram for MGUI::CTRL_COLORBUTTON:

Public Types | |
| enum | STYLE { STYLE_Default = 0x0000, STYLE_OutputOnly = 0x0001, STYLE_AllowTransparent = 0x0002 } |
Public Member Functions | |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const COLOR &dftcolor, STYLE style=STYLE_Default, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize) |
| CTRL_COLORBUTTON () | |
| const COLOR & | GetColor () const |
| COLORREF | GetColorRef () const |
| void | SetColor (const COLORREF color, bool notify=true) |
| void | SetColor (const COLOR &color, bool notify=true) |
| virtual | ~CTRL_COLORBUTTON () |
Protected Member Functions | |
| virtual void | OnChangeColor () |
The button will be shown in the selected color and contains no visible text.
Definition at line 41 of file colorbtn.h.
|
|
Definition at line 44 of file colorbtn.h. |
|
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||||||
|
Create control.
|
|
|
Get current color.
Definition at line 67 of file colorbtn.h. |
|
|
Get current color.
Definition at line 71 of file colorbtn.h. |
|
|
Called when color is changed. Derived class must call corresponding superclass method BEFORE performing its own processing. |
|
||||||||||||
|
Set color.
Definition at line 81 of file colorbtn.h. |
|
||||||||||||
|
Set color.
|
1.3.8-20040913