mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 20:12:23 +00:00
36 lines
1009 B
C#
36 lines
1009 B
C#
using System;
|
|
using Microsoft.Xna.Framework;
|
|
|
|
namespace MonoGame.Extended.Tests
|
|
{
|
|
public class MockGameWindow : GameWindow
|
|
{
|
|
public void RaiseOnClientSizeChangedEvent()
|
|
{
|
|
OnClientSizeChanged();
|
|
}
|
|
|
|
public override void BeginScreenDeviceChange(bool willBeFullScreen)
|
|
{
|
|
}
|
|
|
|
public override void EndScreenDeviceChange(string screenDeviceName, int clientWidth, int clientHeight)
|
|
{
|
|
}
|
|
|
|
protected override void SetSupportedOrientations(DisplayOrientation orientations)
|
|
{
|
|
}
|
|
|
|
protected override void SetTitle(string title)
|
|
{
|
|
}
|
|
|
|
public override bool AllowUserResizing { get; set; }
|
|
public override Rectangle ClientBounds { get; }
|
|
public override Point Position { get; set; }
|
|
public override DisplayOrientation CurrentOrientation { get; }
|
|
public override IntPtr Handle { get; }
|
|
public override string ScreenDeviceName { get; }
|
|
}
|
|
} |