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
MGUI::FORM_COMPOSITEMGUI::FORM
[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)
DEPRECATED 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 SetDelegateOnPressed (DELEGATE_VOID_NOPARMS delegate)
void SetText (const MISTRING &string)

Detailed Description

Form containing PUSHBUTTON and non-editable text field.

Definition at line 46 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 54 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/TEXTID label.

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

DEPRECATED 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.

Deprecated:
Use TEXTID with MISTRING version.
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 83 of file formbtxt.h.

void MGUI::FORM_BUTTONTEXT::SetDelegateOnPressed ( DELEGATE_VOID_NOPARMS  delegate  )  [inline]

Set delegate to call when button pressed.

Definition at line 87 of file formbtxt.h.

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 Thu Apr 26 04:48:32 2007 for TNTsdk by  doxygen 1.5.2