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