diff options
author | Fredia Huya-Kouadio <fhuyakou@gmail.com> | 2022-11-27 22:03:28 -0800 |
---|---|---|
committer | Fredia Huya-Kouadio <fhuyakou@gmail.com> | 2022-11-27 22:07:51 -0800 |
commit | 7cc47613fed4dbdb22816cca7722b3d34fd0b1fc (patch) | |
tree | 47f0ebabf82d1b2664d02a2c4e0bb559b6d4ede0 /platform/android/java_godot_view_wrapper.h | |
parent | 4a82d71d7345d0dde4da2816fd489da1c303f580 (diff) |
Add missing display server overrides
Improves the base functionality for the Android platform and helps reduce the amount of spurious error logs emitted.
Diffstat (limited to 'platform/android/java_godot_view_wrapper.h')
-rw-r--r-- | platform/android/java_godot_view_wrapper.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/android/java_godot_view_wrapper.h b/platform/android/java_godot_view_wrapper.h index b398c73cac..b58a6607ce 100644 --- a/platform/android/java_godot_view_wrapper.h +++ b/platform/android/java_godot_view_wrapper.h @@ -31,6 +31,7 @@ #ifndef JAVA_GODOT_VIEW_WRAPPER_H #define JAVA_GODOT_VIEW_WRAPPER_H +#include "core/math/vector2.h" #include <android/log.h> #include <jni.h> @@ -45,6 +46,8 @@ private: jmethodID _request_pointer_capture = 0; jmethodID _release_pointer_capture = 0; + + jmethodID _configure_pointer_icon = 0; jmethodID _set_pointer_icon = 0; public: @@ -55,6 +58,8 @@ public: void request_pointer_capture(); void release_pointer_capture(); + + void configure_pointer_icon(int pointer_type, const String &image_path, const Vector2 &p_hotspot); void set_pointer_icon(int pointer_type); ~GodotJavaViewWrapper(); |