equal
deleted
inserted
replaced
22 |
22 |
23 #ifndef _SDL_emscriptenvideo_h |
23 #ifndef _SDL_emscriptenvideo_h |
24 #define _SDL_emscriptenvideo_h |
24 #define _SDL_emscriptenvideo_h |
25 |
25 |
26 #include "../SDL_sysvideo.h" |
26 #include "../SDL_sysvideo.h" |
|
27 #include "../../events/SDL_touch_c.h" |
27 #include <emscripten/emscripten.h> |
28 #include <emscripten/emscripten.h> |
28 #include <emscripten/html5.h> |
29 #include <emscripten/html5.h> |
29 |
30 |
30 #include <EGL/egl.h> |
31 #include <EGL/egl.h> |
31 |
32 |
43 float pixel_ratio; |
44 float pixel_ratio; |
44 |
45 |
45 SDL_bool external_size; |
46 SDL_bool external_size; |
46 |
47 |
47 int requested_fullscreen_mode; |
48 int requested_fullscreen_mode; |
|
49 |
|
50 SDL_bool finger_touching; /* for mapping touch events to mice */ |
|
51 SDL_FingerID first_finger; |
48 } SDL_WindowData; |
52 } SDL_WindowData; |
49 |
53 |
50 #endif /* _SDL_emscriptenvideo_h */ |
54 #endif /* _SDL_emscriptenvideo_h */ |
51 |
55 |
52 /* vi: set ts=4 sw=4 expandtab: */ |
56 /* vi: set ts=4 sw=4 expandtab: */ |