50 #ifdef SDL_PROTOTYPES_ONLY
54 #if defined(SDL_VIDEO_DRIVER_WINDOWS)
55 #ifndef WIN32_LEAN_AND_MEAN
56 #define WIN32_LEAN_AND_MEAN
61 #if defined(SDL_VIDEO_DRIVER_WINRT)
62 #include <Inspectable.h>
66 #if defined(SDL_VIDEO_DRIVER_X11)
67 #if defined(__APPLE__) && defined(__MACH__)
69 #define Cursor X11Cursor
73 #include <X11/Xatom.h>
75 #if defined(__APPLE__) && defined(__MACH__)
82 #if defined(SDL_VIDEO_DRIVER_DIRECTFB)
86 #if defined(SDL_VIDEO_DRIVER_COCOA)
90 typedef struct _NSWindow NSWindow;
94 #if defined(SDL_VIDEO_DRIVER_UIKIT)
96 #include <UIKit/UIKit.h>
98 typedef struct _UIWindow UIWindow;
99 typedef struct _UIViewController UIViewController;
104 #if defined(SDL_VIDEO_DRIVER_ANDROID)
105 typedef struct ANativeWindow ANativeWindow;
106 typedef void *EGLSurface;
109 #if defined(SDL_VIDEO_DRIVER_VIVANTE)
140 #if defined(SDL_VIDEO_DRIVER_WINDOWS)
148 #if defined(SDL_VIDEO_DRIVER_X11)
153 #if defined(SDL_VIDEO_DRIVER_DIRECTFB)
158 #if defined(SDL_VIDEO_DRIVER_COCOA)
168 #if defined(SDL_VIDEO_DRIVER_UIKIT)
175 #if defined(SDL_VIDEO_DRIVER_VIVANTE)
199 #if defined(SDL_VIDEO_DRIVER_WINDOWS)
206 #if defined(SDL_VIDEO_DRIVER_WINRT)
212 #if defined(SDL_VIDEO_DRIVER_X11)
219 #if defined(SDL_VIDEO_DRIVER_DIRECTFB)
224 IDirectFBSurface *surface;
227 #if defined(SDL_VIDEO_DRIVER_COCOA)
230 #if defined(__OBJC__) && defined(__has_feature) && __has_feature(objc_arc)
231 NSWindow __unsafe_unretained *
window;
237 #if defined(SDL_VIDEO_DRIVER_UIKIT)
240 #if defined(__OBJC__) && defined(__has_feature) && __has_feature(objc_arc)
241 UIWindow __unsafe_unretained *
window;
247 GLuint resolveFramebuffer;
250 #if defined(SDL_VIDEO_DRIVER_WAYLAND)
254 struct wl_surface *surface;
255 struct wl_shell_surface *shell_surface;
258 #if defined(SDL_VIDEO_DRIVER_MIR)
261 struct MirConnection *connection;
262 struct MirSurface *surface;
266 #if defined(SDL_VIDEO_DRIVER_ANDROID)
274 #if defined(SDL_VIDEO_DRIVER_VIVANTE)
278 EGLNativeWindowType
window;
static SDL_Window * window
uint32_t Uint32
An unsigned 32-bit integer type.
union SDL_SysWMmsg::@16 msg
Information the version of SDL in use.
struct SDL_SysWMinfo::@18::@19 x11
struct SDL_SysWMmsg::@16::@17 x11
The type used to identify a window.
union SDL_SysWMinfo::@18 info
SDL_bool SDL_GetWindowWMInfo(SDL_Window *window, SDL_SysWMinfo *info)
This function allows access to driver-dependent window information.