GUINameEntryScreen Class Reference

The NameEntryScreen class used for entering names for high scores. More...

Inherits GUIPanel, and GUIButtonAction.

List of all members.

Public Member Functions

 GUINameEntryScreen (FontRef headerFont, FontRef inputFont, FontRef buttonFont)
 Constructor.
virtual ~GUINameEntryScreen ()
 Deconstructor.
virtual void OnActivation ()
 Called when the panel is activated.
virtual void KeyboardUpdate (const IKeyboard &kb)
 Called each frame when the panel has focus.
virtual bool InActiveArea (const Point2f &p) const
 Returns true if the given query point is in the panels bounds.
virtual bool IsNameEntryComplete () const
 Returns true when the user has completed their name entry.
void SetNameEntryComplete ()
 Sets the name entry to be completed.
void Reset ()
 Resets for a new name entry.
void ClearName ()
 Clears the name text.
std::string GetName () const
 Gets the currently entered name.
virtual void OnClick (GUIButton *b)
 Called when a button is clicked.

Protected Member Functions

virtual void Paint ()
 Does the actual rendering of the GUI element.

Detailed Description

The NameEntryScreen class used for entering names for high scores.


Constructor & Destructor Documentation

GUINameEntryScreen::GUINameEntryScreen ( FontRef  headerFont,
FontRef  inputFont,
FontRef  buttonFont 
)

Constructor.

Parameters:
[in] headerFont the font to draw header text with.
[in] inputFont the font to draw input text with.
[in] buttonFont the font to draw button text with.

Member Function Documentation

void GUINameEntryScreen::OnClick ( GUIButton *  b  )  [virtual]

Called when a button is clicked.

Parameters:
[in] b the button that was clicked.

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