MGUI::FORM_COLORSELECTOR_T< _CT > Class Template Reference

Color selector form template. More...

#include <mgui/colorsel.h>

Inheritance diagram for MGUI::FORM_COLORSELECTOR_T< _CT >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, _CT *pContainer, void(_CT::*pfOnChangeColor)(), FORMSTYLE formstyle=FORMSTYLE_Default)
 FORM_COLORSELECTOR_T ()

Protected Member Functions

virtual void OnChangeColor ()

Detailed Description

template<class _CT>
class MGUI::FORM_COLORSELECTOR_T< _CT >

Color selector form template.

This template allows a method in a 'container' class to be called when the color is changed, rather than requiring that a subclass be defined with the OnChangeColor() virtual method overridden.

Definition at line 174 of file colorsel.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 178 of file colorsel.h.


Member Function Documentation

template<class _CT>
void MGUI::FORM_COLORSELECTOR_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
_CT *  pContainer,
void(_CT::*  pfOnChangeColor)(),
FORMSTYLE  formstyle = FORMSTYLE_Default
[inline]
 

Create the form.

Parameters:
pContainer  Pointer to callback container class
formstyle  Callback function pointer

Definition at line 182 of file colorsel.h.

template<class _CT>
virtual void MGUI::FORM_COLORSELECTOR_T< _CT >::OnChangeColor  )  [inline, protected, virtual]
 

Called when user changes color.

Reimplemented from MGUI::FORM_COLORSELECTOR.

Definition at line 197 of file colorsel.h.


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