2
* Copyright © 2009 Christian Persch <chpe@gnome.org>
4
* This program is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18
#ifndef __AR_CLUTTER_EMBED_H__
19
#define __AR_CLUTTER_EMBED_H__
21
#include <clutter-gtk/clutter-gtk.h>
24
#include "ar-cursor.h"
28
#define AR_TYPE_CLUTTER_EMBED (ar_clutter_embed_get_type())
29
#define AR_CLUTTER_EMBED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), AR_TYPE_CLUTTER_EMBED, ArClutterEmbed))
30
#define AR_CLUTTER_EMBED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), AR_TYPE_CLUTTER_EMBED, ArClutterEmbedClass))
31
#define AR_IS_CLUTTER_EMBED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AR_TYPE_CLUTTER_EMBED))
32
#define AR_IS_CLUTTER_EMBED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), AR_TYPE_CLUTTER_EMBED))
33
#define AR_CLUTTER_EMBED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AR_TYPE_CLUTTER_EMBED, ArClutterEmbedClass))
35
typedef struct _ArClutterEmbed ArClutterEmbed;
36
typedef struct _ArClutterEmbedClass ArClutterEmbedClass;
37
typedef struct _ArClutterEmbedPrivate ArClutterEmbedPrivate;
39
struct _ArClutterEmbed
41
GtkClutterEmbed parent;
44
ArClutterEmbedPrivate *priv;
47
struct _ArClutterEmbedClass
49
GtkClutterEmbedClass parent_class;
52
GType ar_clutter_embed_get_type (void);
54
ArClutterEmbed* ar_clutter_embed_new (ArStyle *style);
56
void ar_clutter_embed_set_cursor (ArClutterEmbed *embed,
57
ArCursorType cursor_type);
61
#endif /* __AR_CLUTTER_EMBED_H__ */