1
0
Fork 0
mutter-performance-source/gtk/gtk-clutter.h
Iain Holmes e34b2f77c6 2006-06-22 Iain Holmes <iain@openedhand.com>
* gtk/gtk-clutter.[ch]: Rewrite to use
        clutter_stage_set_xwindow_foreign rather than GtkSocket.

        * gtk/gtk-clutter-test.c: Add fading!1!!!!11! OMGWTFBBQ!!!
2006-06-21 22:29:28 +00:00

80 lines
2 KiB
C

/*
* GTK-Clutter.
*
* GTK+ widget for Clutter.
*
* Authored By Iain Holmes <iain@openedhand.com>
*
* Copyright (C) 2006 OpenedHand
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef _HAVE_GTK_CLUTTER_H
#define _HAVE_GTK_CLUTTER_H
#include <gtk/gtkdrawingarea.h>
#include <clutter/clutter-actor.h>
G_BEGIN_DECLS
#define GTK_TYPE_CLUTTER gtk_clutter_get_type ()
#define GTK_CLUTTER(obj) \
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
GTK_TYPE_CLUTTER, GtkClutter))
#define GTK_CLUTTER_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CASE ((klass), \
GTK_TYPE_CLUTTER, GtkClutterClass))
#define GTK_IS_CLUTTER(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
GTK_TYPE_CLUTTER))
#define GTK_IS_CLUTTER_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
GTK_TYPE_CLUTTER))
#define GTK_CLUTTER_STAGE_GET_CLASS(obj) \
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
GTK_TYPE_CLUTTER, GtkClutterClass))
typedef struct _GtkClutterPrivate GtkClutterPrivate;
typedef struct _GtkClutter GtkClutter;
typedef struct _GtkClutterClass GtkClutterClass;
struct _GtkClutter
{
GtkDrawingArea parent;
/*< private >*/
GtkClutterPrivate *priv;
};
struct _GtkClutterClass
{
GtkDrawingAreaClass parent_class;
};
GType gtk_clutter_get_type (void);
ClutterActor *gtk_clutter_get_stage (GtkClutter *clutter);
G_END_DECLS
#endif