diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-09-12 12:19:33 +0200 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-10-05 14:15:07 +0200 |
commit | b6315afc9ae89d12bcb6201b627605d630d58e58 (patch) | |
tree | 1b4bd16c0336258118c3a77344f8db42a1b52cb0 /platform/javascript/godot_js.h | |
parent | b2d30c725df3cb04f8a5b93455da13f5945d8b4d (diff) | |
download | redot-engine-b6315afc9ae89d12bcb6201b627605d630d58e58.tar.gz |
[HTML5] Implement fullscreenchange in JS library.
Removes more emscripten HTML5 library dependencies.
Diffstat (limited to 'platform/javascript/godot_js.h')
-rw-r--r-- | platform/javascript/godot_js.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/godot_js.h b/platform/javascript/godot_js.h index 512349180f..32e168da96 100644 --- a/platform/javascript/godot_js.h +++ b/platform/javascript/godot_js.h @@ -94,6 +94,7 @@ extern void godot_js_display_mouse_move_cb(void (*p_callback)(double p_x, double extern void godot_js_display_mouse_wheel_cb(int (*p_callback)(double p_delta_x, double p_delta_y)); extern void godot_js_display_touch_cb(void (*p_callback)(int p_type, int p_count), uint32_t *r_identifiers, double *r_coords); extern void godot_js_display_key_cb(void (*p_callback)(int p_type, int p_repeat, int p_modifiers), char r_code[32], char r_key[32]); +extern void godot_js_display_fullscreen_cb(void (*p_callback)(int p_fullscreen)); extern void godot_js_display_notification_cb(void (*p_callback)(int p_notification), int p_enter, int p_exit, int p_in, int p_out); extern void godot_js_display_paste_cb(void (*p_callback)(const char *p_text)); extern void godot_js_display_drop_files_cb(void (*p_callback)(char **p_filev, int p_filec)); |