Public Member Functions | Public Attributes

CTextBox Class Reference

Inherits Control, and Control.

List of all members.

Public Member Functions

 CTextBox (int left, int top, int width, int height, string@ text)
stringText ()
stringGetCursor ()
void SetColor (uint color)
void SetFormat (uint format)
void SetText (string@ text)
void SetMaxLength (uint ml)
void ShowCursor (int show)
void RefreshDrawnText ()
void InsertChar (uint8 key)
void Draw ()
bool KeyDown (uint8 key)
 CTextBox (int left, int top, int width, int height, string@ text)
stringText ()
stringGetCursor ()
void SetColor (uint color)
void SetFormat (uint format)
void SetText (string@ text)
void ShowCursor (int show)
void InsertChar (uint8 key)
void Draw ()
bool KeyDown (uint8 key)

Public Attributes

string text
string drawnText
uint cursorPos
uint cursorTime
uint cursorChangedTime
int showCursor
string cursor1
string cursor2
int color
int format
int font
uint maxlength

Constructor & Destructor Documentation

CTextBox ( int  left,
int  top,
int  width,
int  height,
string text 
)
CTextBox ( int  left,
int  top,
int  width,
int  height,
string text 
)

Member Function Documentation

string@ Text (  ) 
string@ GetCursor (  ) 
void SetColor ( uint  color  ) 
void SetFormat ( uint  format  ) 
void SetText ( string text  ) 
void SetMaxLength ( uint  ml  ) 
void ShowCursor ( int  show  ) 
void RefreshDrawnText (  ) 
void InsertChar ( uint8  key  ) 
void Draw (  ) 

Reimplemented from Control.

bool KeyDown ( uint8  key  ) 

Reimplemented from Control.

string@ Text (  ) 
string@ GetCursor (  ) 
void SetColor ( uint  color  ) 
void SetFormat ( uint  format  ) 
void SetText ( string text  ) 
void ShowCursor ( int  show  ) 
void InsertChar ( uint8  key  ) 
void Draw (  ) 

Reimplemented from Control.

bool KeyDown ( uint8  key  ) 

Reimplemented from Control.


Member Data Documentation

uint cursorPos
uint cursorTime
int color
int format
int font
uint maxlength