diff options
author | Guilherme Silva <guilhermefelipecgs@gmail.com> | 2017-11-10 08:50:11 -0200 |
---|---|---|
committer | Guilherme Felipe <guilhermefelipecgs@gmail.com> | 2017-12-17 13:40:29 -0200 |
commit | a392dbdbe3f67d42698e47399421fbdf6ae5c90a (patch) | |
tree | 0a824a34a62a5f9510850e4e4f451e8c54e5ed46 /platform/android | |
parent | fa8a1fc4201dc4c16b5eef844dde17c5bba92dc8 (diff) |
Add implementation for custom hardware cursor
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/os_android.cpp | 3 | ||||
-rw-r--r-- | platform/android/os_android.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/os_android.cpp b/platform/android/os_android.cpp index b575f15559..810befb9ab 100644 --- a/platform/android/os_android.cpp +++ b/platform/android/os_android.cpp @@ -248,6 +248,9 @@ void OS_Android::set_cursor_shape(CursorShape p_shape) { //android really really really has no mouse.. how amazing.. } +void OS_Android::set_custom_mouse_cursor(const RES &p_cursor, CursorShape p_shape, const Vector2 &p_hotspot) { +} + void OS_Android::main_loop_begin() { if (main_loop) diff --git a/platform/android/os_android.h b/platform/android/os_android.h index 3b7f55096e..94a67f9dbe 100644 --- a/platform/android/os_android.h +++ b/platform/android/os_android.h @@ -182,6 +182,7 @@ public: virtual bool can_draw() 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(); |