blob: a65479b2ccd58d2e5aa21301a10e48a4cde90752 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
using System;
using System.Drawing;
using Microsoft.Xna.Framework;
using Point = Microsoft.Xna.Framework.Point;
using Rectangle = Microsoft.Xna.Framework.Rectangle;
namespace MonoGame.Extended.Tests
{
public class MockGameWindow : GameWindow
{
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; }
public MockGameWindow()
{
}
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)
{
}
#if __MonoCS__
public override Icon Icon { get; set; }
#endif
}
}
|