Inherits Control, and Control.
Public Member Functions | |
CTextBox (int left, int top, int width, int height, string@ text) | |
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 () |
bool | KeyDown (uint8 key) |
CTextBox (int left, int top, int width, int height, string@ text) | |
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 () |
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 |
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.
uint cursorPos |
uint cursorTime |
uint cursorChangedTime |
int showCursor |
int color |
int format |
int font |
uint maxlength |