diff options
| author | Andreas Haas | 2016-07-03 19:36:12 +0200 |
|---|---|---|
| committer | Andreas Haas | 2016-07-03 19:36:12 +0200 |
| commit | 91add16300de38adf1e95728055c3e28f36ec182 (patch) | |
| tree | d3ac3a436e6e087a2484e0f3f131d4a6e53009d5 /servers/visual_server.h | |
| parent | a28bf56ef9b9d5d93031fb8ce4209370f075f69b (diff) | |
| download | godot-91add16300de38adf1e95728055c3e28f36ec182.tar.gz godot-91add16300de38adf1e95728055c3e28f36ec182.tar.zst godot-91add16300de38adf1e95728055c3e28f36ec182.zip | |
Can use AtlasTextures as custom mouse cursor.
fixes #3957
Diffstat (limited to 'servers/visual_server.h')
| -rw-r--r-- | servers/visual_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h index f330a6fae..64318dfd7 100644 --- a/servers/visual_server.h +++ b/servers/visual_server.h @@ -1110,7 +1110,7 @@ public: /* CURSOR */ virtual void cursor_set_rotation(float p_rotation, int p_cursor = 0)=0; // radians - virtual void cursor_set_texture(RID p_texture, const Point2 &p_center_offset = Point2(0, 0), int p_cursor=0)=0; + virtual void cursor_set_texture(RID p_texture, const Point2 &p_center_offset = Point2(0, 0), int p_cursor=0, const Rect2 &p_region=Rect2())=0; virtual void cursor_set_visible(bool p_visible, int p_cursor = 0)=0; virtual void cursor_set_pos(const Point2& p_pos, int p_cursor = 0)=0; |
