public TextBox() { SetSize(new Vector2(175, 30)); _inputLineHeight = (int)Assets.GetFont("Arial10").MeasureString("00000").Y; Text = ""; }
public static void DrawString(this SpriteBatch spriteBatch, string text, Vector2 pos, Color color) { spriteBatch.DrawString(Assets.GetFont("GadgetFont12"), text, pos, color); }