#include <mgui/coloredl.h>
Inheritance diagram for MGUI::FORM_COLOR_EDIT_LIST:

Public Types | |
| enum | CAP { CAP_NoTransparent, CAP_AllowTransparent, CAP_AllowTransparency, CAP_FromForm } |
| enum | LAYOUT { LAYOUT_Vertical, LAYOUT_Horizontal } |
Public Member Functions | |
| int | AddItem (const ITEM &item) |
| void | Create (MGUI::LAYOUT_PANE_BASE &ParentPane, int listrows, CAP capability=CAP_NoTransparent, LAYOUT layout=LAYOUT_Vertical) |
| FORM_COLOR_EDIT_LIST () | |
| const COLOR & | GetItemColor (int itemid) |
| UINT32 | GetItemColorRef (int itemid) |
| virtual bool | IsCreated () const |
| virtual bool | IsEnabled () const |
| virtual void | SetEnabled (bool enabled=true) |
| void | SetItemColor (int itemid, const COLOR &color, bool notify=true) |
| virtual void | SetVisible (bool visible=true) |
| virtual | ~FORM_COLOR_EDIT_LIST () |
Protected Member Functions | |
| virtual void | OnChangeItemColor (int itemid, const COLOR &color) |
This form includes a list showing color name and sample, and a set of controls to "edit" the selected color.
Definition at line 48 of file coloredl.h.
|
|
Color editing capabilities.
Definition at line 52 of file coloredl.h. |
|
|
Form layout.
Definition at line 60 of file coloredl.h. |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
Add item to list.
|
|
||||||||||||||||||||
|
Create the form. Note that if transparency on/off or percentage controls are required for any item in the list the desired capability must be specified when creating the form.
|
|
|
Get color for specified item.
|
|
|
Get color reference for specified item.
|
|
|
Determine if form has been created.
Implements MGUI::FORM. |
|
|
Determine if form is enabled for keyboard or mouse input.
|
|
||||||||||||
|
Called when item color changed.
|
|
|
Set whether mouse or keyboard input to form is allowed.
Implements MGUI::FORM. |
|
||||||||||||||||
|
Set color for specified item.
|
|
|
Set whether form is visible or not.
Implements MGUI::FORM. |
1.3.8-20040913