The name text entry gui element. More...
Inherits GUITextEntry.
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. |
The name text entry gui element.
GUINameTextEntry::GUINameTextEntry | ( | GUIPanel * | p | ) |
Constructor.
[in] | p | the panels parent. |
GUINameTextEntry::GUINameTextEntry | ( | uint | len | ) |
Constructor.
[in] | len | the max length of the input. |
Constructor.
[in] | len | the max length of the input. |
[in] | keys | an array of keys to filter. |
[in] | n | the length of the keys array. |
virtual const char* GUINameTextEntry::GetPanelTypeName | ( | ) | const [inline, virtual] |
Gets the string type identifier for the GUI element.
Reimplemented from GUITextEntry.
void GUINameTextEntry::SetFont | ( | FontRef | f | ) | [virtual] |
Sets the font to use when drawing text.
[in] | f | the referance to the font. |
Reimplemented from GUITextEntry.