#include <mgui/colorsel.h>
Inheritance diagram for MGUI::FORM_COLORSELECTOR:

Public Types | |
| enum | FORMSTYLE { FORMSTYLE_Default = 0x00, FORMSTYLE_EditTransparency = 0x01 } |
Public Member Functions | |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, FORMSTYLE formstyle=FORMSTYLE_Default) |
| FORM_COLORSELECTOR () | |
| const COLOR & | GetColor () const |
| virtual bool | IsCreated () const |
| virtual bool | IsEnabled () const |
| void | SetColor (const COLOR &color, bool notify=true) |
| virtual void | SetEnabled (bool enabled=true) |
| void | SetTransparency (UINT8 transparency, bool notify=true) |
| virtual void | SetVisible (bool visible=true) |
| virtual | ~FORM_COLORSELECTOR () |
Protected Member Functions | |
| virtual void | OnChangeColor () |
This form includes a "mini-palette", a pushbutton for choosing color, and an optional "edit" control for tranparency.
Definition at line 59 of file colorsel.h.
|
|
Definition at line 62 of file colorsel.h. |
|
|
Constructor.
|
|
|
Destructor.
|
|
||||||||||||
|
Create the form.
|
|
|
Get current color.
Definition at line 82 of file colorsel.h. |
|
|
Determine if form has been created.
Reimplemented from MGUI::FORM_COMPOSITE. |
|
|
Determine if form is enabled for keyboard or mouse input.
|
|
|
Called when user changes color.
Reimplemented in MGUI::FORM_COLORSELECTOR_T< _CT >. |
|
||||||||||||
|
Set color.
|
|
|
Set whether mouse or keyboard input to form is allowed.
Reimplemented from MGUI::FORM_COMPOSITE. |
|
||||||||||||
|
Set transparency factor.
|
|
|
Set whether form is visible or not.
Reimplemented from MGUI::FORM_COMPOSITE. |
1.3.8-20040913