aboutsummaryrefslogtreecommitdiff
path: root/platform/osx/os_osx.h
diff options
context:
space:
mode:
authorRémi Verschelde2018-01-03 08:35:59 +0100
committerGitHub2018-01-03 08:35:59 +0100
commit6322b0bbb7fec1e6574f0bb09c99647472ef3a52 (patch)
tree235aab52e666b4619c940bb1765a76ad2649cfc7 /platform/osx/os_osx.h
parent2c226e4edf720ebbadf355e244b27082ca01f330 (diff)
parenta392dbdbe3f67d42698e47399421fbdf6ae5c90a (diff)
downloadgodot-6322b0bbb7fec1e6574f0bb09c99647472ef3a52.tar.gz
godot-6322b0bbb7fec1e6574f0bb09c99647472ef3a52.tar.zst
godot-6322b0bbb7fec1e6574f0bb09c99647472ef3a52.zip
Diffstat (limited to 'platform/osx/os_osx.h')
-rw-r--r--platform/osx/os_osx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/osx/os_osx.h b/platform/osx/os_osx.h
index a24bf6c0b..0411b4e72 100644
--- a/platform/osx/os_osx.h
+++ b/platform/osx/os_osx.h
@@ -41,6 +41,7 @@
#include "servers/visual/rasterizer.h"
#include "servers/visual/visual_server_wrap_mt.h"
#include "servers/visual_server.h"
+#include <AppKit/NSCursor.h>
#include <ApplicationServices/ApplicationServices.h>
#undef CursorShape
@@ -86,6 +87,7 @@ public:
id context;
CursorShape cursor_shape;
+ NSCursor *cursors[CURSOR_MAX] = { NULL };
MouseMode mouse_mode;
String title;
@@ -137,6 +139,7 @@ public:
virtual void alert(const String &p_alert, const String &p_title = "ALERT!");
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);
virtual void set_mouse_show(bool p_show);
virtual void set_mouse_grab(bool p_grab);