You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add missing method for javascript
This commit is contained in:
@@ -782,6 +782,9 @@ void OS_JavaScript::set_cursor_shape(CursorShape p_shape) {
|
|||||||
set_css_cursor(godot2dom_cursor(cursor_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() {
|
void OS_JavaScript::main_loop_begin() {
|
||||||
|
|
||||||
if (main_loop)
|
if (main_loop)
|
||||||
|
|||||||
@@ -128,6 +128,7 @@ public:
|
|||||||
virtual bool is_userfs_persistent() const;
|
virtual bool is_userfs_persistent() const;
|
||||||
|
|
||||||
virtual void set_cursor_shape(CursorShape p_shape);
|
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();
|
void main_loop_begin();
|
||||||
bool main_loop_iterate();
|
bool main_loop_iterate();
|
||||||
|
|||||||
Reference in New Issue
Block a user