public Game1() { graphics = new GraphicsDeviceManager(this); Content.RootDirectory = "Content"; resolutionManager = new ResolutionManager(); graphics.IsFullScreen = true; graphics.PreferredBackBufferWidth = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width; graphics.PreferredBackBufferHeight = GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height; graphics.SupportedOrientations = DisplayOrientation.Portrait; reset(); }
public TouchEventDetect() { res = new ResolutionManager(); }