MGUI::FORM_BUTTONTEXT_T< _CT > Class Template Reference

Convenience template for FORM_BUTTONTEXT to allow container method to be called. More...

#include <mgui/formbtxt.h>

Inheritance diagram for MGUI::FORM_BUTTONTEXT_T< _CT >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, _CT *pContainer, void(_CT::*pfOnPressed)(), int width=0, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_Expand)
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const char *label, _CT *pContainer, void(_CT::*pfOnPressed)(), int width=0, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_Expand)
 FORM_BUTTONTEXT_T ()

Detailed Description

template<class _CT>
class MGUI::FORM_BUTTONTEXT_T< _CT >

Convenience template for FORM_BUTTONTEXT to allow container method to be called.

Definition at line 113 of file formbtxt.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 117 of file formbtxt.h.


Member Function Documentation

template<class _CT>
void MGUI::FORM_BUTTONTEXT_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
const MISTRING label,
_CT *  pContainer,
void(_CT::*  pfOnPressed)(),
int  width = 0,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_Expand
[inline]
 

Create the control with Unicode label.

Parameters:
ParentPane  Parent pane
label  Label string
pContainer  Pointer to callback container class
width  Callback function pointer Width in 'em' characters

Definition at line 136 of file formbtxt.h.

template<class _CT>
void MGUI::FORM_BUTTONTEXT_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
const char *  label,
_CT *  pContainer,
void(_CT::*  pfOnPressed)(),
int  width = 0,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_Expand
[inline]
 

Create the control with label from resource lookup.

Parameters:
ParentPane  Parent pane
label  Label string for resource lookup
pContainer  Pointer to callback container class
width  Callback function pointer Width in 'em' characters

Definition at line 121 of file formbtxt.h.


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