Repository navigation
TextBoxBase.cs
Guess what this class does :)
Color of the text in the text box.
The prompt text, this is text you can use to indicate the fields use.
This is the actual text in the text box.
This is the text currently selected.
This is the current cursor position in the text box.
Used to offset the text in the text box, default is 8,8
This is the color of the Text.
This is the color of the Prompt text.
This is the color of the border when not selected or hovering over.
This is the border color when the mouse is over.
This is the border color when the text box has focus.
Constructor.
As well as calling base.Update(gameTime), this then goes on to handle text input from the KeyboardStateManager
As well as calling base.Draw(gameTime), this method then renders the Text and the Cursor as and when required.