Exemplo n.º 1
0
        public int WindowHeight(GraphicsDevice device)
        {
#if !MONOGAME
            return(Fullscreen.ScreenY(Game.Window.Handle));
#else
            return(device.DisplayMode.Height);
#endif
        }
Exemplo n.º 2
0
        public int WindowWidth(GraphicsDevice device)
        {
#if !MONOGAME
            return(Fullscreen.ScreenX(Game.Window.Handle));
#else
            return(device.DisplayMode.Width);
#endif
        }
Exemplo n.º 3
0
 private void FullScreen()
 {
     Fullscreen.fullscreen(Game.Window.Handle);
 }