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 UNICODE *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 257 of file colorbtn.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 261 of file colorbtn.h.


Member Function Documentation

template<class _CT>
void MGUI::FORM_COLORBUTTON_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
const UNICODE 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 281 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 265 of file colorbtn.h.


The documentation for this class was generated from the following file:
Generated on Tue Dec 14 13:20:51 2004 for TNTsdk by  doxygen 1.3.8-20040913