summaryrefslogtreecommitdiff
path: root/src/SDL2/include/SDL_syswm.h
diff options
context:
space:
mode:
authorMAN-AT-ARMS <donny@ecgnetwork.com>2014-03-24 19:13:56 -0400
committerTim Angus <tim@ngus.net>2014-08-28 11:03:33 +0100
commit93128472323d98f9902b280e2716874cfd0b2a05 (patch)
treea164f935d44b0d1ca10439ef82358392b8847198 /src/SDL2/include/SDL_syswm.h
parent691ccef4078f82424e1c3dae2e7d1ba0ff6573ce (diff)
Update SDL2 to 2.0.3
Diffstat (limited to 'src/SDL2/include/SDL_syswm.h')
-rw-r--r--src/SDL2/include/SDL_syswm.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/SDL2/include/SDL_syswm.h b/src/SDL2/include/SDL_syswm.h
index 40e8ca7c..a3fe7386 100644
--- a/src/SDL2/include/SDL_syswm.h
+++ b/src/SDL2/include/SDL_syswm.h
@@ -56,6 +56,10 @@ struct SDL_SysWMinfo;
#include <windows.h>
#endif
+#if defined(SDL_VIDEO_DRIVER_WINRT)
+#include <Inspectable.h>
+#endif
+
/* This is the structure for custom window manager events */
#if defined(SDL_VIDEO_DRIVER_X11)
#if defined(__APPLE__) && defined(__MACH__)
@@ -90,6 +94,7 @@ typedef struct _NSWindow NSWindow;
#include <UIKit/UIKit.h>
#else
typedef struct _UIWindow UIWindow;
+typedef struct _UIViewController UIViewController;
#endif
#endif
@@ -111,6 +116,7 @@ typedef enum
SDL_SYSWM_UIKIT,
SDL_SYSWM_WAYLAND,
SDL_SYSWM_MIR,
+ SDL_SYSWM_WINRT,
} SDL_SYSWM_TYPE;
/**
@@ -175,6 +181,12 @@ struct SDL_SysWMinfo
HWND window; /**< The window handle */
} win;
#endif
+#if defined(SDL_VIDEO_DRIVER_WINRT)
+ struct
+ {
+ IInspectable * window; /**< The WinRT CoreWindow */
+ } winrt;
+#endif
#if defined(SDL_VIDEO_DRIVER_X11)
struct
{