Implement Input.set_default_cursor_shape to change the default shape

Closes #18043
This commit is contained in:
Guilherme Felipe
2018-04-09 17:48:24 -03:00
parent 48890b15c5
commit 4f05190fb0
5 changed files with 16 additions and 1 deletions

View File

@ -119,6 +119,8 @@ public:
virtual bool is_emulating_touchscreen() const = 0;
virtual CursorShape get_default_cursor_shape() = 0;
virtual void set_default_cursor_shape(CursorShape p_shape) = 0;
virtual void set_custom_mouse_cursor(const RES &p_cursor, CursorShape p_shape = CURSOR_ARROW, const Vector2 &p_hotspot = Vector2()) = 0;
virtual void set_mouse_in_window(bool p_in_window) = 0;