WinRT: provided access, via SDL_GetWindowWMInfo, to SDL's WinRT CoreWindow
This commit is contained in:
parent
0bc7f7eac8
commit
4b6b1755fe
5 changed files with 64 additions and 11 deletions
|
@ -103,6 +103,7 @@ typedef enum
|
|||
{
|
||||
SDL_SYSWM_UNKNOWN,
|
||||
SDL_SYSWM_WINDOWS,
|
||||
SDL_SYSWM_WINDOWSRT,
|
||||
SDL_SYSWM_X11,
|
||||
SDL_SYSWM_DIRECTFB,
|
||||
SDL_SYSWM_COCOA,
|
||||
|
@ -171,6 +172,12 @@ struct SDL_SysWMinfo
|
|||
HWND window; /**< The window handle */
|
||||
} win;
|
||||
#endif
|
||||
#if defined(SDL_VIDEO_DRIVER_WINRT)
|
||||
struct
|
||||
{
|
||||
void * window; /**< The Windows RT CoreWindow, casted from 'CoreWindow ^*' to 'void *' */
|
||||
} winrt;
|
||||
#endif
|
||||
#if defined(SDL_VIDEO_DRIVER_X11)
|
||||
struct
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue