|
Size: 730
Comment: update content - changeset 4624
|
Size: 1320
Comment: update content (old wiki)
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 22: | Line 22: |
| *<<BR>>If you want to obtain system-specific information about the window manager, you can fill in the '''version''' member of an [[SDL_SysWMinfo]] structure (details can be found in SDL_syswm.h, ,,which must be included,,) using the [[SDL_VERSION]]() macro found in SDL_version.h, and pass it to the function* ,,[[SDL_GetWMInfo]](),,. <<Color2(green,I think this function has been replaced by [[SDL_GetWindowWMInfo]](). Is that right? Old wiki included)>> {{{ int SDL_GetWMInfo(SDL_SysWMinfo *info); }}} |
|
| Line 27: | Line 31: |
| .[[SDL_SysWMinfo]] | |
| Line 30: | Line 35: |
| .[[SDL_EventState]] * .[[SDL_GetWindowWMInfo]] *??? |
DRAFT |
SDL_SysWMEvent
A structure that contains a video driver dependent system event (event.syswm.*) .
Contents
Data Fields
Uint32 |
type |
SDL_SYSWMEVENT |
SDL_SysWMmsg* |
msg |
driver dependent data, defined in SDL_syswm.h |
Code Examples
You can add your code example here
Remarks
If you want to use this event, you should include SDL_syswm.h.
*
If you want to obtain system-specific information about the window manager, you can fill in the version member of an SDL_SysWMinfo structure (details can be found in SDL_syswm.h, which must be included) using the SDL_VERSION() macro found in SDL_version.h, and pass it to the function* [[SDL_GetWMInfo]](). green
int SDL_GetWMInfo(SDL_SysWMinfo *info);
Related Enumerations
Related Structures
