private void InitDebugView()
        {
            int appWidth   = Application.GetWidth();
            int appHeight  = Application.GetHeight();
            int realWidth  = Application.GetRealWidth();
            int realHeight = Application.GetRealHeight();

            int width  = realWidth - appWidth;
            int height = realHeight;

            m_debugView = new View(appWidth, 0, width, height);
        }
예제 #2
0
 public Screen(int id = 0)
     : this(Application.GetWidth(), Application.GetHeight())
 {
     this.id = id;
 }