GUINameTextEntry Class Reference

The name text entry gui element. More...

Inherits GUITextEntry.

List of all members.

Public Member Functions

 GUINameTextEntry ()
 Constructor.
 GUINameTextEntry (GUIPanel *p)
 Constructor.
 GUINameTextEntry (uint len)
 Constructor.
 GUINameTextEntry (uint len, const Key *keys, uint n)
 Constructor.
virtual ~GUINameTextEntry ()
 Deconstructor.
virtual void SetFont (FontRef f)
 Sets the font to use when drawing text.
virtual const char * GetPanelTypeName () const
 Gets the string type identifier for the GUI element.

Protected Member Functions

virtual void Paint ()
 Does the actual rendering of the GUI element.
virtual void OnUpdate (float dt)
 Call once a frame when the panel is active.
virtual void RecomputeLayout ()
 Recomputes the bounds and layout for the panel. Called by the Refit() method.

Detailed Description

The name text entry gui element.


Constructor & Destructor Documentation

GUINameTextEntry::GUINameTextEntry ( GUIPanel p  ) 

Constructor.

Parameters:
[in] p the panels parent.
GUINameTextEntry::GUINameTextEntry ( uint  len  ) 

Constructor.

Parameters:
[in] len the max length of the input.
GUINameTextEntry::GUINameTextEntry ( uint  len,
const Key keys,
uint  n 
)

Constructor.

Parameters:
[in] len the max length of the input.
[in] keys an array of keys to filter.
[in] n the length of the keys array.

Member Function Documentation

virtual const char* GUINameTextEntry::GetPanelTypeName (  )  const [inline, virtual]

Gets the string type identifier for the GUI element.

Returns:
The string type identifier.

Reimplemented from GUITextEntry.

void GUINameTextEntry::SetFont ( FontRef  f  )  [virtual]

Sets the font to use when drawing text.

Parameters:
[in] f the referance to the font.

Reimplemented from GUITextEntry.


The documentation for this class was generated from the following files:
Generated on Mon Apr 5 19:08:05 2010 for BrickOut |ReDuX| by  doxygen 1.6.3