mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 04:04:24 +00:00
[HTML5] Implement fullscreenchange in JS library.
Removes more emscripten HTML5 library dependencies.
This commit is contained in:
parent
b7ac3c1aeb
commit
ac78e7f940
4 changed files with 25 additions and 19 deletions
|
|
@ -82,9 +82,9 @@ private:
|
|||
bool idb_needs_sync;
|
||||
bool idb_is_syncing;
|
||||
|
||||
static EM_BOOL fullscreen_change_callback(int p_event_type, const EmscriptenFullscreenChangeEvent *p_event, void *p_user_data);
|
||||
static EM_BOOL blur_callback(int p_event_type, const EmscriptenFocusEvent *p_event, void *p_user_data);
|
||||
|
||||
static void fullscreen_change_callback(int p_fullscreen);
|
||||
static int mouse_button_callback(int p_pressed, int p_button, double p_x, double p_y, int p_modifiers);
|
||||
static void mouse_move_callback(double p_x, double p_y, double p_rel_x, double p_rel_y, int p_modifiers);
|
||||
static int mouse_wheel_callback(double p_delta_x, double p_delta_y);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue