MGUI::FORM_COLORBUTTON_T< _CT > Class Template Reference

Template form containing label and button for showing and selecting a "color". More...

#include <mgui/colorbtn.h>

Inheritance diagram for MGUI::FORM_COLORBUTTON_T< _CT >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MIUNICODE *label, _CT *pContainer, void(_CT::*pfOnChangeColor)(), 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, _CT *pContainer, void(_CT::*pfOnChangeColor)(), 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_T ()

Detailed Description

template<class _CT>
class MGUI::FORM_COLORBUTTON_T< _CT >

Template form containing label and button for showing and selecting a "color".

Definition at line 260 of file colorbtn.h.


Constructor & Destructor Documentation

template<class _CT>
MGUI::FORM_COLORBUTTON_T< _CT >::FORM_COLORBUTTON_T  )  [inline]
 

Constructor.

Definition at line 264 of file colorbtn.h.


Member Function Documentation

template<class _CT>
void MGUI::FORM_COLORBUTTON_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
const MIUNICODE label,
_CT *  pContainer,
void(_CT::*  pfOnChangeColor)(),
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
[inline]
 

Create with Unicode label.

Parameters:
ParentPane  Parent pane
label  Label string
pContainer  Pointer to callback container class
dftcolor  Container method to call for color change notification Default color

Definition at line 284 of file colorbtn.h.

template<class _CT>
void MGUI::FORM_COLORBUTTON_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
const char *  label,
_CT *  pContainer,
void(_CT::*  pfOnChangeColor)(),
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
[inline]
 

Create with label from resource lookup.

Parameters:
ParentPane  Parent pane
label  Label string for resource lookup
pContainer  Pointer to callback container class
dftcolor  Container method to call for color change notification Default color

Definition at line 268 of file colorbtn.h.


The documentation for this class was generated from the following file:
Generated on Wed May 31 15:29:53 2006 for TNTsdk by  doxygen 1.3.8-20040913