/// <summary> /// Create a new DanTextWindow /// </summary> public DanTextDisplayWindow(int x, int y, int width, int lines) { mChatLog = new List<String>(); mBackground = new FilledRectangle(x, y, width, 0, CUtil.GraphicsDevice); mPosition = new Vector2(x, y); iLines = lines; }
//Init textbox public DanTextInputBox(int x, int width) { mBackground = new FilledRectangle(x, 0, width, 0, CUtil.GraphicsDevice); bIsDone = false; mFontPos = new Vector2(x, 0); }