mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
Add missing display server overrides
Improves the base functionality for the Android platform and helps reduce the amount of spurious error logs emitted.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user