summaryrefslogtreecommitdiffstats
path: root/core/os/os.h
diff options
context:
space:
mode:
authorGuilherme Silva <guilhermefelipecgs@gmail.com>2017-11-10 08:50:11 -0200
committerGuilherme Felipe <guilhermefelipecgs@gmail.com>2017-12-17 13:40:29 -0200
commita392dbdbe3f67d42698e47399421fbdf6ae5c90a (patch)
tree0a824a34a62a5f9510850e4e4f451e8c54e5ed46 /core/os/os.h
parentfa8a1fc4201dc4c16b5eef844dde17c5bba92dc8 (diff)
downloadredot-engine-a392dbdbe3f67d42698e47399421fbdf6ae5c90a.tar.gz
Add implementation for custom hardware cursor
Diffstat (limited to 'core/os/os.h')
-rw-r--r--core/os/os.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 2faaa6ab8f..a8cb3ee0de 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -325,6 +325,7 @@ public:
virtual int get_virtual_keyboard_height() const;
virtual void set_cursor_shape(CursorShape p_shape) = 0;
+ virtual void set_custom_mouse_cursor(const RES &p_cursor, CursorShape p_shape, const Vector2 &p_hotspot) = 0;
virtual bool get_swap_ok_cancel() { return false; }
virtual void dump_memory_to_file(const char *p_file);