Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
UITextBox (string text, float textScale=1f, bool large=false) | |
void | Write (string text) |
override void | SetText (string text, float textScale, bool large) |
void | SetTextMaxLength (int maxLength) |
void | Backspace () |
void | CursorLeft () |
void | CursorRight () |
override void | Recalculate () |
void | SetText (T text) |
virtual void | SetText (T text, float textScale, bool large) |
Public Attributes | |
bool | ShowInputTicker = true |
bool | HideSelf |
float | TextHAlign |
bool | HideContents |
Protected Member Functions | |
override void | DrawSelf (SpriteBatch spriteBatch) |
override void | DrawSelf (SpriteBatch spriteBatch) |
void | DrawText (SpriteBatch spriteBatch) |
Protected Attributes | |
T | _text |
float | _textScale |
Vector2 | _textSize |
bool | _isLarge |
Color | _color |
bool | _drawPanel |
Properties | |
bool | IsLarge [get] |
bool | DrawPanel [get, set] |
float | TextScale [get, set] |
Vector2 | TextSize [get] |
string | Text [get] |
Color | TextColor [get, set] |
Private Attributes | |
int | _cursor |
int | _frameCount |
int | _maxLength = 20 |
string | _asterisks |
Definition at line 8 of file UITextBox.cs.