MGUI::FORM_COLORSPREAD Class Reference

Form to select or define color spread. More...

#include <mgui/formcolorspread.h>

Inheritance diagram for MGUI::FORM_COLORSPREAD:
Inheritance graph
[legend]

List of all members.

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 COLORSPREADGetValues () const
void SetDelegateOnChange (DELEGATE_VOID_NOPARMS delegate)
void SetValues (const COLORSPREAD &values)

Detailed Description

Form to select or define color spread.


Member Enumeration Documentation

Form style.

Enumerator:
STYLE_Default 
STYLE_Stacked 

Create in "stacked" arrangement.


Constructor & Destructor Documentation

MGUI::FORM_COLORSPREAD::FORM_COLORSPREAD (  ) 

Constructor.

virtual MGUI::FORM_COLORSPREAD::~FORM_COLORSPREAD (  )  [virtual]

Destructor.


Member Function Documentation

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.

Parameters:
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.


The documentation for this class was generated from the following file:

Generated on Sun Oct 7 21:35:56 2012 for TNTsdk 2012 by  doxygen 1.6.1