MGUI::FORM_BUTTONTEXT Class Reference

Form containing PUSHBUTTON and non-editable text field. More...

#include <mgui/formbtxt.h>

Inheritance diagram for MGUI::FORM_BUTTONTEXT:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void ClearText ()
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const MISTRING &label, int width=0, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_Expand)
void Create (MGUI::LAYOUT_PANE_BASE &ParentPane, const char *label, int width=0, MGUI::LAYOUT_SIZEALIGN sizealign=MGUI::LAYOUT_SIZEALIGN_Expand)
 FORM_BUTTONTEXT ()
CTRL_PUSHBUTTONGetButton ()
void SetText (const MISTRING &string)

Protected Member Functions

virtual void OnPressed ()=0

Detailed Description

Form containing PUSHBUTTON and non-editable text field.

Definition at line 42 of file formbtxt.h.


Constructor & Destructor Documentation

MGUI::FORM_BUTTONTEXT::FORM_BUTTONTEXT  ) 
 

Constructor.


Member Function Documentation

void MGUI::FORM_BUTTONTEXT::ClearText  )  [inline]
 

Clear the text field.

Definition at line 50 of file formbtxt.h.

void MGUI::FORM_BUTTONTEXT::Create MGUI::LAYOUT_PANE_BASE ParentPane,
const MISTRING label,
int  width = 0,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_Expand
 

Create with MISTRING label.

Parameters:
ParentPane  Parent pane
label  Button label string
width  Width in 'em' characters

void MGUI::FORM_BUTTONTEXT::Create MGUI::LAYOUT_PANE_BASE ParentPane,
const char *  label,
int  width = 0,
MGUI::LAYOUT_SIZEALIGN  sizealign = MGUI::LAYOUT_SIZEALIGN_Expand
 

Create with label from resource lookup.

Parameters:
ParentPane  Parent pane
label  Button label string for resource lookup
width  Width in 'em' characters

CTRL_PUSHBUTTON& MGUI::FORM_BUTTONTEXT::GetButton  )  [inline]
 

Get reference to button control.

Definition at line 76 of file formbtxt.h.

virtual void MGUI::FORM_BUTTONTEXT::OnPressed  )  [protected, pure virtual]
 

void MGUI::FORM_BUTTONTEXT::SetText const MISTRING string  ) 
 

Set text to show in field.


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