MGUI::FORM_REGION_SELECT_T< _CT > Class Template Reference

Convenience template for FORM_REGION_SELECT form to allow method in container class to be called. More...

#include <mgui/formelemselect.h>

Inheritance diagram for MGUI::FORM_REGION_SELECT_T< _CT >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, _CT *pContainer, void(_CT::*pfOnApplyToAll)(), RVC::OBJTYPE DestObjType, bool AddApplyToAllBtn=false, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize)
 FORM_REGION_SELECT_T ()

Detailed Description

template<class _CT>
class MGUI::FORM_REGION_SELECT_T< _CT >

Convenience template for FORM_REGION_SELECT form to allow method in container class to be called.

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

Definition at line 300 of file formelemselect.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 304 of file formelemselect.h.


Member Function Documentation

template<class _CT>
void MGUI::FORM_REGION_SELECT_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
_CT *  pContainer,
void(_CT::*  pfOnApplyToAll)(),
RVC::OBJTYPE  DestObjType,
bool  AddApplyToAllBtn = false,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize
[inline]
 

Create control with label from resource lookup.

Parameters:
ParentPane  Parent pane
pContainer  Pointer to callback container class
DestObjType  Callback function pointer

Definition at line 308 of file formelemselect.h.


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