コード例 #1
0
        /// <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;
        }
コード例 #2
0
 //Init textbox
 public DanTextInputBox(int x, int width)
 {
     mBackground = new FilledRectangle(x, 0, width, 0, CUtil.GraphicsDevice);
     bIsDone = false;
     mFontPos = new Vector2(x, 0);
 }