Rename IGraphicsDevice to IPlatformWindow.

This commit is contained in:
Paul Chote
2018-06-05 19:07:26 +00:00
parent 72c0e344ad
commit 28c8089bc7
6 changed files with 11 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ namespace OpenRA.Platforms.Default
| ((raw & (int)SDL.SDL_Keymod.KMOD_SHIFT) != 0 ? Modifiers.Shift : 0);
}
int2 EventPosition(Sdl2GraphicsDevice device, int x, int y)
int2 EventPosition(Sdl2PlatformWindow device, int x, int y)
{
// On Windows and Linux (X11) events are given in surface coordinates
// These must be scaled to our effective window coordinates
@@ -50,7 +50,7 @@ namespace OpenRA.Platforms.Default
return new int2(x, y);
}
public void PumpInput(Sdl2GraphicsDevice device, IInputHandler inputHandler)
public void PumpInput(Sdl2PlatformWindow device, IInputHandler inputHandler)
{
var mods = MakeModifiers((int)SDL.SDL_GetModState());
var scrollDelta = 0;