diff options
author | Guilherme Silva <guilhermefelipecgs@gmail.com> | 2018-01-05 13:37:31 -0200 |
---|---|---|
committer | Guilherme Silva <guilhermefelipecgs@gmail.com> | 2018-01-05 13:37:31 -0200 |
commit | ea02c6234501e868f9c828437b8ac98a00091d90 (patch) | |
tree | 6125674b48b23fea91e02ecde146111a3e01b539 /platform/javascript | |
parent | 0c86c1ad152d2b523dc125eb79e838563b3d5f69 (diff) |
Add missing method for javascript
Diffstat (limited to 'platform/javascript')
-rw-r--r-- | platform/javascript/os_javascript.cpp | 3 | ||||
-rw-r--r-- | platform/javascript/os_javascript.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/platform/javascript/os_javascript.cpp b/platform/javascript/os_javascript.cpp index c598557738..a86393c950 100644 --- a/platform/javascript/os_javascript.cpp +++ b/platform/javascript/os_javascript.cpp @@ -782,6 +782,9 @@ void OS_JavaScript::set_cursor_shape(CursorShape p_shape) { set_css_cursor(godot2dom_cursor(cursor_shape)); } +void OS_JavaScript::set_custom_mouse_cursor(const RES &p_cursor, CursorShape p_shape, const Vector2 &p_hotspot) { +} + void OS_JavaScript::main_loop_begin() { if (main_loop) diff --git a/platform/javascript/os_javascript.h b/platform/javascript/os_javascript.h index 2af90ef16b..ce4763ab64 100644 --- a/platform/javascript/os_javascript.h +++ b/platform/javascript/os_javascript.h @@ -128,6 +128,7 @@ public: virtual bool is_userfs_persistent() const; virtual void set_cursor_shape(CursorShape p_shape); + virtual void set_custom_mouse_cursor(const RES &p_cursor, CursorShape p_shape, const Vector2 &p_hotspot); void main_loop_begin(); bool main_loop_iterate(); |