|  | 
| 
 Public Member Functions | 
|  | GTextField (GContainer *parent=NULL) | 
|  | Simple constructor for GTextField. 
 
 | 
| virtual void | Create (float x, float y, float width, float height, ResourceID font, ResourceID backgroundImg, int maxChars=256, int leftPad=0) | 
|  | GButton's create function, must be called to set up actual button. 
 
 | 
| virtual void | Message (SDL_Event *rawEvent, GewiEvent event, Uint16 mouseX, Uint16 mouseY, char ch) | 
|  | Overload of Message, used to recieve messages. 
 
 | 
| virtual void | Show () | 
|  | Draws the text input area & text to the screen. 
 
 | 
| void | SetText (std::string text) | 
|  | Set text in input area. 
 
 | 
| std::string | GetText () | 
|  | Get current text of the input box. 
 
 | 
| 
 Protected Attributes | 
| std::string | rText | 
|  | Text currently entered. 
 
 | 
| ZE::ZImage | rBuffer | 
|  | Text buffer, used internally. 
 
 | 
| ResourceID | rFont | 
|  | Font for text. 
 
 | 
| ResourceID | rBackground | 
|  | Background for text input area. 
 
 | 
| int | rMaxChars | 
|  | Maximum number of characters allowed to be entered. 
 
 | 
| int | rLeftPadding | 
|  | Amount of padding on left hand side. 
 
 |