Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

OglGui::TextField Class Reference

basic text input control More...

#include <TextField.h>

Inheritance diagram for OglGui::TextField:

Inheritance graph
[legend]
Collaboration diagram for OglGui::TextField:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TextField (Window *parent, int w, int h, strconst text)
 TextField (Window *parent, int x, int y, int w, int h, strconst text)
void SetTextFieldListener (TextFieldListener *listener, void *userData=0)
virtual void DisplayFunc ()
virtual void DrawTextWithCursor ()
virtual void KeyboardFunc (int c, int state)
void ResetCaret ()
void SetText (strconst text)

Protected Member Functions

void DeleteSelection ()
void GetSelectionLeftRight (int &left, int &right)
void Init (strconst text)

Protected Attributes

TextFieldListenermListener
void * mListenerData
int mCaretPosition
int mMarkerPosition

Detailed Description

basic text input control

This is a text box on screen that can be used for text input. Unfortunatly not all standard textbox functionality is imlemented (yet)

Implementation details: To make the caret work the following system is used:

Definition at line 45 of file TextField.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 12:08:25 2010 for ImpalaSrc by  doxygen 1.5.1