|
Size: 1152
Comment: update content (w/ Sam); remove 'draft' note
|
Size: 1228
Comment: update content - table sections
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 10: | Line 10: |
| ||||||''All Subsystems''|| | ||||||<bgcolor="#EDEDED">''All Subsystems''|| |
| Line 13: | Line 13: |
| ||||||''SDL_SYSWM_WINDOWS''|| | ||||||<bgcolor="#EDEDED">''SDL_SYSWM_WINDOWS''|| |
| Line 18: | Line 18: |
| ||||||''SDL_SYSWM_X11''|| | ||||||<bgcolor="#EDEDED">''SDL_SYSWM_X11''|| |
| Line 20: | Line 20: |
| ||||||''SDL_SYSWM_DIRECTFB''|| | ||||||<bgcolor="#EDEDED">''SDL_SYSWM_DIRECTFB''|| |
SDL_SysWMmsg
A structure that contains system-dependent window manager messages.
Contents
Data Fields
All Subsystems |
||
SDL_version |
version |
an SDL_version structure that contains the current SDL version |
SDL_SYSWM_TYPE |
subsystem |
the windowing system type; see Remarks for details |
SDL_SYSWM_WINDOWS |
||
HWND |
win.hwnd |
the window for the message |
UINT |
win.msg |
the type of message |
WPARAM |
win.wParam |
WORD message parameter |
LPARAM |
win.lParam |
LONG message parameter |
SDL_SYSWM_X11 |
||
XEvent |
x11.event |
the native x11 event structure |
SDL_SYSWM_DIRECTFB |
||
DFBEvent |
dfb.event |
the DirectFB event |
Code Examples
You can add your code example here
Remarks
subsystem may be one of the following:
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) |
There are currently no Cocoa window events.
