diff options
author | Michael J. Bishop <mbtyke@gmail.com> | 2013-10-23 16:31:01 -0400 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2014-05-19 14:36:26 +0300 |
commit | f0d152957de6729c1a418294155cb950991487bd (patch) | |
tree | ec44cfb56cbf9eaae911a9555cc0fe604e164d93 /src/struct_info.json | |
parent | f0dd2f8d2da50da0ab87f5e2585e59e7a5f521b7 (diff) |
Adds support for SDL Window Events with event ids:
- `SDL_WINDOWEVENT_FOCUS_GAINED`
- `SDL_WINDOWEVENT_FOCUS_LOST`
- `SDL_WINDOWEVENT_SHOWN`
- `SDL_WINDOWEVENT_HIDDEN`
Includes a fix for FFOS phones that prevent the `blur` event when
audio is playing (Bugzilla 910340)
Conflicts:
src/library_sdl.js
Diffstat (limited to 'src/struct_info.json')
-rw-r--r-- | src/struct_info.json | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/struct_info.json b/src/struct_info.json index 9aeeb283..54c89fd7 100644 --- a/src/struct_info.json +++ b/src/struct_info.json @@ -932,6 +932,16 @@ "file": "SDL/SDL_events.h", "defines": [], "structs": { + "SDL_WindowEvent": [ + "type", + "windowID", + "event", + "padding1", + "padding2", + "padding3", + "data1", + "data2" + ], "SDL_KeyboardEvent": [ "type", "windowID", |