|
Size: 2318
Comment: Added Wayland and Mir using content from SDL_syswm.h, set camelcase off.
|
Size: 2440
Comment: Added WinRT using content from SDL_syswm.h.
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 16: | Line 16: |
| ||||||<bgcolor="#EDEDED">''SDL_SYSWM_WINRT'' (>= SDL 2.0.3)|| ||IInspectable*||'''win.window'''||the WinRT CoreWindow|| |
SDL_SysWMinfo
A structure that contains system-dependent information about a window.
Contents
Data Fields
All Subsystems |
||
version |
an SDL_version structure that contains the current SDL version |
|
subsystem |
the windowing system type; see Remarks for details |
|
int |
dummy |
unused (to help compilers when no specific system is available) |
SDL_SYSWM_WINDOWS |
||
HWND |
win.window |
the window handle |
SDL_SYSWM_WINRT (>= SDL 2.0.3) |
||
IInspectable* |
win.window |
the WinRT CoreWindow |
SDL_SYSWM_X11 |
||
Display* |
x11.display |
the X11 display |
Window |
x11.window |
the X11 window |
SDL_SYSWM_DIRECTFB |
||
IDirectFB* |
dfb.dfb |
the DirectFB main interface |
IDirectFBWindow* |
dfb.window |
the DirectFB window handle |
IDirectFBSurface* |
dfb.surface |
the DirectFB client surface |
SDL_SYSWM_COCOA |
||
NSWindow* |
cocoa.window |
the Cocoa window |
SDL_SYSWM_UIKIT |
||
UIWindow* |
uikit.window |
the UIKit window |
SDL_SYSWM_WAYLAND (>= SDL 2.0.2) |
||
wl_display* |
display |
the Wayland display |
wl_surface* |
surface |
the Wayland surface |
wl_shell_surface* |
shell_surface |
the Wayland shell_surface (window manager handle) |
SDL_SYSWM_MIR (>= SDL 2.0.2) |
||
connection |
the Mir display server connection |
|
surface |
the Mir surface |
|
Code Examples
You can add your code example here
Remarks
This structure is filled in by SDL_GetWindowWMInfo().
This structure holds low level information about the window and subsystem is set to the windowing system in use, one of:
SDL_SYSWM_UNKNOWN |
|
SDL_SYSWM_WINDOWS |
Microsoft Windows |
SDL_SYSWM_X11 |
X Window System |
SDL_SYSWM_DIRECTFB |
|
SDL_SYSWM_COCOA |
Apple Mac OS X |
SDL_SYSWM_UIKIT |
Apple iOS |
SDL_SYSWM_WAYLAND |
Wayland (>= SDL 2.0.2) |
SDL_SYSWM_MIR |
Mir (>= SDL 2.0.2) |
SDL_SYSWM_WINRT |
WinRT (>= SDL 2.0.3) |
SDL_SYSWM_ANDROID |
Android (>= SDL 2.0.4) |
SDL_SYSWM_VIVANTE |
Vivante (>= SDL 2.0.5) |
Related Enumerations
Related Structures
