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

Public Member Functions | |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MIUNICODE *label, const COLOR &dftcolor, MGUI::CTRL_COLORBUTTON::STYLE buttonstyle=MGUI::CTRL_COLORBUTTON::STYLE_Default, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const char *label, const COLOR &dftcolor, MGUI::CTRL_COLORBUTTON::STYLE buttonstyle=MGUI::CTRL_COLORBUTTON::STYLE_Default, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap) |
| FORM_COLORBUTTON () | |
| const COLOR & | GetColor () const |
| COLORREF | GetColorRef () const |
| MGUI::CTRL_LABEL & | GetLabel () |
| void | SetColor (const COLORREF color, bool notify=true) |
| void | SetColor (const COLOR &color, bool notify=true) |
| void | SetLabel (const MIUNICODE *label) |
| void | SetLabel (const char *label) |
| virtual | ~FORM_COLORBUTTON () |
Protected Member Functions | |
| virtual void | OnChangeColor () |
The button will be shown in the selected color and contains no visible text.
Definition at line 173 of file colorbtn.h.
|
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||||||||||||||||||
|
Create form with Unicode label.
|
|
||||||||||||||||||||||||||||
|
Create form with label from resource lookup.
|
|
|
Get current color.
Definition at line 205 of file colorbtn.h. |
|
|
Get current color.
Definition at line 209 of file colorbtn.h. |
|
|
Retrieve label control for form. Usually the label control is only retrieved for alignment purposes. Definition at line 214 of file colorbtn.h. |
|
|
Called when value is changed. Derived class must call corresponding superclass method BEFORE performing its own processing. |
|
||||||||||||
|
Set color.
Definition at line 224 of file colorbtn.h. |
|
||||||||||||
|
Set color.
Definition at line 218 of file colorbtn.h. |
|
|
Set label text from Unicode string.
Definition at line 235 of file colorbtn.h. |
|
|
Set label text using string from resource lookup.
Definition at line 230 of file colorbtn.h. |
1.3.8-20040913