aboutsummaryrefslogtreecommitdiff
path: root/src/struct_info.json
diff options
context:
space:
mode:
authorMichael J. Bishop <mbtyke@gmail.com>2013-10-23 16:31:01 -0400
committerJukka Jylänki <jujjyl@gmail.com>2014-05-19 14:36:26 +0300
commitf0d152957de6729c1a418294155cb950991487bd (patch)
treeec44cfb56cbf9eaae911a9555cc0fe604e164d93 /src/struct_info.json
parentf0dd2f8d2da50da0ab87f5e2585e59e7a5f521b7 (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.json10
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",