From a392dbdbe3f67d42698e47399421fbdf6ae5c90a Mon Sep 17 00:00:00 2001 From: Guilherme Silva Date: Fri, 10 Nov 2017 08:50:11 -0200 Subject: Add implementation for custom hardware cursor --- platform/android/os_android.cpp | 3 +++ platform/android/os_android.h | 1 + 2 files changed, 4 insertions(+) (limited to 'platform/android') 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(); -- cgit v1.2.3