summaryrefslogtreecommitdiff
path: root/platform/javascript/godot_js.h
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-10-05 12:54:42 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2021-10-05 14:15:07 +0200
commit7d6c1fdb32d277d1986be60e34b92dbca4e30939 (patch)
treed2061822724dd8d69efe919eebf818136b1b815e /platform/javascript/godot_js.h
parentb6315afc9ae89d12bcb6201b627605d630d58e58 (diff)
[HTML5] Implement window blur in JS library.
Removes more emscripten HTML5 library dependencies.
Diffstat (limited to 'platform/javascript/godot_js.h')
-rw-r--r--platform/javascript/godot_js.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/javascript/godot_js.h b/platform/javascript/godot_js.h
index 32e168da96..19f3566af8 100644
--- a/platform/javascript/godot_js.h
+++ b/platform/javascript/godot_js.h
@@ -95,6 +95,7 @@ extern void godot_js_display_mouse_wheel_cb(int (*p_callback)(double p_delta_x,
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_window_blur_cb(void (*p_callback)());
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));