diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-01-03 08:35:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 08:35:59 +0100 |
commit | 6322b0bbb7fec1e6574f0bb09c99647472ef3a52 (patch) | |
tree | 235aab52e666b4619c940bb1765a76ad2649cfc7 /platform/android | |
parent | 2c226e4edf720ebbadf355e244b27082ca01f330 (diff) | |
parent | a392dbdbe3f67d42698e47399421fbdf6ae5c90a (diff) |
Merge pull request #12814 from guilhermefelipecgs/add_hardware_custom_cursor
Custom hardware-accelerated mouse 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 dd23a81977..97e81874c9 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 744dce7ff1..adfd88b59b 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(); |