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