summaryrefslogtreecommitdiff
path: root/src/wayland/meta-cursor-sprite-wayland.h
blob: e0f0c0d4b622f799659b9b86d0c68fc502d6581d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * Copyright 2013, 2018 Red Hat, Inc.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
 *
 */

#ifndef META_CURSOR_SPRITE_WAYLAND_H
#define META_CURSOR_SPRITE_WAYLAND_H

#include <glib-object.h>

#include "backends/meta-cursor.h"
#include "wayland/meta-wayland-surface.h"

#define META_TYPE_CURSOR_SPRITE_WAYLAND meta_cursor_sprite_wayland_get_type ()
META_EXPORT_TEST
G_DECLARE_FINAL_TYPE (MetaCursorSpriteWayland, meta_cursor_sprite_wayland,
                      META, CURSOR_SPRITE_WAYLAND, MetaCursorSprite)

MetaCursorSpriteWayland * meta_cursor_sprite_wayland_new (MetaWaylandSurface *surface,
                                                          MetaCursorTracker  *cursor_tracker);

MetaWaylandBuffer * meta_cursor_sprite_wayland_get_buffer (MetaCursorSpriteWayland *sprite_wayland);

#endif /* META_CURSOR_SPRITE_WAYLAND_H */