MGUI::FORM_COMBOBOX_T< _CT > Class Template Reference

Convenience template for COMBOBOX control to allow method in container class to be called. More...

#include <mgui/combobox.h>

Inheritance diagram for MGUI::FORM_COMBOBOX_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::*pfOnSelection)(), const MGUI::LISTITEMDEF *items=0, int listheight=7, int width=0, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_COMBOBOX::STYLE style=MGUI::CTRL_COMBOBOX::STYLE_Default, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap)
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const char *label, _CT *pContainer, void(_CT::*pfOnSelection)(), const MGUI::LISTITEMDEF *items=0, int listheight=7, int width=0, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_FixedSize, MGUI::CTRL_COMBOBOX::STYLE style=MGUI::CTRL_COMBOBOX::STYLE_Default, MGUI::CTRL_LABEL::STYLE labelstyle=MGUI::CTRL_LABEL::STYLE_LeftNoWrap)
 FORM_COMBOBOX_T ()

Detailed Description

template<class _CT>
class MGUI::FORM_COMBOBOX_T< _CT >

Convenience template for COMBOBOX control to allow method in container class to be called.

Definition at line 530 of file combobox.h.


Constructor & Destructor Documentation

template<class _CT>
MGUI::FORM_COMBOBOX_T< _CT >::FORM_COMBOBOX_T  )  [inline, explicit]
 

Constructor.

Definition at line 533 of file combobox.h.


Member Function Documentation

template<class _CT>
void MGUI::FORM_COMBOBOX_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
const MISTRING label,
_CT *  pContainer,
void(_CT::*  pfOnSelection)(),
const MGUI::LISTITEMDEF items = 0,
int  listheight = 7,
int  width = 0,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize,
MGUI::CTRL_COMBOBOX::STYLE  style = MGUI::CTRL_COMBOBOX::STYLE_Default,
MGUI::CTRL_LABEL::STYLE  labelstyle = MGUI::CTRL_LABEL::STYLE_LeftNoWrap
[inline]
 

Create form with Unicode label.

Parameters:
ParentPane  Parent pane
label  Label string
pContainer  Pointer to callback container class
items  Callback function pointer Initial item set, 0 for none
listheight  Maximum list height when dropped down in characters
width  Width in 'typical' characters, 0 for default

Definition at line 556 of file combobox.h.

template<class _CT>
void MGUI::FORM_COMBOBOX_T< _CT >::Create MGUI::LAYOUT_PANE_BASE ParentPane,
const char *  label,
_CT *  pContainer,
void(_CT::*  pfOnSelection)(),
const MGUI::LISTITEMDEF items = 0,
int  listheight = 7,
int  width = 0,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_FixedSize,
MGUI::CTRL_COMBOBOX::STYLE  style = MGUI::CTRL_COMBOBOX::STYLE_Default,
MGUI::CTRL_LABEL::STYLE  labelstyle = MGUI::CTRL_LABEL::STYLE_LeftNoWrap
[inline]
 

Create form with label from resource lookup.

Parameters:
ParentPane  Parent pane
label  Label string for resource lookup
pContainer  Pointer to callback container class
items  Callback function pointer Initial item set, 0 for none
listheight  Maximum list height when dropped down in characters
width  Width in 'typical' characters, 0 for default

Definition at line 538 of file combobox.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