summaryrefslogtreecommitdiff
path: root/core/os/input.h
diff options
context:
space:
mode:
authorGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-04-09 17:48:24 -0300
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2018-04-10 11:38:34 -0300
commit4f05190fb08b064b8605ab80cba74aee38e52702 (patch)
tree9ac4369738c103f2d022c9824027a9d802d5ad86 /core/os/input.h
parent48890b15c5b5ff54ea2cf416a9d3157f2d5dee5b (diff)
Implement Input.set_default_cursor_shape to change the default shape
Closes #18043
Diffstat (limited to 'core/os/input.h')
-rw-r--r--core/os/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/input.h b/core/os/input.h
index 9c7595ff7f..fca68f27b7 100644
--- a/core/os/input.h
+++ b/core/os/input.h
@@ -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;