include/SDL_syswm.h
changeset 8411 aca0591bc58f
parent 8305 3d522e6d4ae1
child 8439 14d94a8a9fb6
equal deleted inserted replaced
8410:ba725b3a0c87 8411:aca0591bc58f
   101  */
   101  */
   102 typedef enum
   102 typedef enum
   103 {
   103 {
   104     SDL_SYSWM_UNKNOWN,
   104     SDL_SYSWM_UNKNOWN,
   105     SDL_SYSWM_WINDOWS,
   105     SDL_SYSWM_WINDOWS,
       
   106     SDL_SYSWM_WINDOWSRT,
   106     SDL_SYSWM_X11,
   107     SDL_SYSWM_X11,
   107     SDL_SYSWM_DIRECTFB,
   108     SDL_SYSWM_DIRECTFB,
   108     SDL_SYSWM_COCOA,
   109     SDL_SYSWM_COCOA,
   109     SDL_SYSWM_UIKIT,
   110     SDL_SYSWM_UIKIT,
   110 } SDL_SYSWM_TYPE;
   111 } SDL_SYSWM_TYPE;
   169         struct
   170         struct
   170         {
   171         {
   171             HWND window;                /**< The window handle */
   172             HWND window;                /**< The window handle */
   172         } win;
   173         } win;
   173 #endif
   174 #endif
       
   175 #if defined(SDL_VIDEO_DRIVER_WINRT)
       
   176         struct
       
   177         {
       
   178             void * window;          /**< The Windows RT CoreWindow, casted from 'CoreWindow ^*' to 'void *' */
       
   179         } winrt;
       
   180 #endif
   174 #if defined(SDL_VIDEO_DRIVER_X11)
   181 #if defined(SDL_VIDEO_DRIVER_X11)
   175         struct
   182         struct
   176         {
   183         {
   177             Display *display;           /**< The X11 display */
   184             Display *display;           /**< The X11 display */
   178             Window window;              /**< The X11 window */
   185             Window window;              /**< The X11 window */