Form to select or define color spread. More...
#include <mgui/formcolorspread.h>

Public Types | |
| enum | STYLE { STYLE_Default = 0x00, STYLE_Stacked = 0x01 } |
Public Member Functions | |
| FORM_COLORSPREAD () | |
| virtual | ~FORM_COLORSPREAD () |
| void | Create (LAYOUT_PANE_BASE &PaneParent, const MISTRING &LabelStr, int width=256, STYLE style=STYLE_Default, LAYOUT_SIZEALIGN SizeAlign=LAYOUT_SIZEALIGN_FixedHeight) |
| const COLORSPREAD & | GetValues () const |
| void | SetDelegateOnChange (DELEGATE_VOID_NOPARMS delegate) |
| void | SetValues (const COLORSPREAD &values) |
Form to select or define color spread.
| MGUI::FORM_COLORSPREAD::FORM_COLORSPREAD | ( | ) |
Constructor.
| virtual MGUI::FORM_COLORSPREAD::~FORM_COLORSPREAD | ( | ) | [virtual] |
Destructor.
| void MGUI::FORM_COLORSPREAD::Create | ( | LAYOUT_PANE_BASE & | PaneParent, | |
| const MISTRING & | LabelStr, | |||
| int | width = 256, |
|||
| STYLE | style = STYLE_Default, |
|||
| LAYOUT_SIZEALIGN | SizeAlign = LAYOUT_SIZEALIGN_FixedHeight | |||
| ) |
Create form.
| width | Form width in pixels |
| const COLORSPREAD& MGUI::FORM_COLORSPREAD::GetValues | ( | ) | const |
Get spread values.
| void MGUI::FORM_COLORSPREAD::SetDelegateOnChange | ( | DELEGATE_VOID_NOPARMS | delegate | ) |
Set delegate to call when any change made.
| void MGUI::FORM_COLORSPREAD::SetValues | ( | const COLORSPREAD & | values | ) |
Set spread values.
1.6.1