|
Size: 1401
Comment: update content for consistency - RE, RS
|
Size: 1504
Comment: Verified
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| ||<tablewidth="100%" style="color: #FF0000;" :> DRAFT|| | |
| Line 14: | Line 13: |
| ||<style="color: #808080;">int||<style="color: #808080;">'''dummy'''||<style="color: #808080;">unused (to help compilers when no specific system is available)|| | |
| Line 23: | Line 23: |
SDL_SysWMmsg
A structure that contains system-dependent window manager messages.
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.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 or UIKit window events.
Related Enumerations
