deprecated_h = \
$(srcdir)/deprecated/clutter-actor.h \
$(srcdir)/deprecated/clutter-animatable.h \
+ $(srcdir)/deprecated/clutter-animation.h \
$(srcdir)/deprecated/clutter-backend.h \
$(srcdir)/deprecated/clutter-behaviour.h \
$(srcdir)/deprecated/clutter-behaviour-depth.h \
#include "clutter-effect-private.h"
#include "clutter-enum-types.h"
#include "clutter-fixed-layout.h"
+#include "clutter-flatten-effect.h"
+#include "clutter-interval.h"
#include "clutter-main.h"
#include "clutter-marshal.h"
-#include "clutter-flatten-effect.h"
#include "clutter-paint-volume-private.h"
#include "clutter-private.h"
#include "clutter-profile.h"
#endif
#include "clutter-animatable.h"
+#include "clutter-interval.h"
#include "clutter-debug.h"
#include "clutter-private.h"
#ifndef __CLUTTER_ANIMATION_H__
#define __CLUTTER_ANIMATION_H__
-#include <clutter/clutter-actor.h>
-#include <clutter/clutter-alpha.h>
-#include <clutter/clutter-interval.h>
-#include <clutter/clutter-timeline.h>
#include <clutter/clutter-types.h>
G_BEGIN_DECLS
const gchar *property_name);
void clutter_animation_completed (ClutterAnimation *animation);
-CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_animation_set_timeline)
-void clutter_animation_set_alpha (ClutterAnimation *animation,
- ClutterAlpha *alpha);
-
-CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_animation_get_timeline)
-ClutterAlpha * clutter_animation_get_alpha (ClutterAnimation *animation);
-
-ClutterAnimation * clutter_actor_animate (ClutterActor *actor,
- gulong mode,
- guint duration,
- const gchar *first_property_name,
- ...) G_GNUC_NULL_TERMINATED;
-ClutterAnimation * clutter_actor_animate_with_timeline (ClutterActor *actor,
- gulong mode,
- ClutterTimeline *timeline,
- const gchar *first_property_name,
- ...) G_GNUC_NULL_TERMINATED;
-ClutterAnimation * clutter_actor_animatev (ClutterActor *actor,
- gulong mode,
- guint duration,
- gint n_properties,
- const gchar * const properties[],
- const GValue *values);
-ClutterAnimation * clutter_actor_animate_with_timelinev (ClutterActor *actor,
- gulong mode,
- ClutterTimeline *timeline,
- gint n_properties,
- const gchar * const properties[],
- const GValue *values);
-
-ClutterAnimation * clutter_actor_get_animation (ClutterActor *actor);
-void clutter_actor_detach_animation (ClutterActor *actor);
-
-CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_animate_with_timeline)
-ClutterAnimation * clutter_actor_animate_with_alpha (ClutterActor *actor,
- ClutterAlpha *alpha,
- const gchar *first_property_name,
- ...) G_GNUC_NULL_TERMINATED;
-
-CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_animate_with_timelinev)
-ClutterAnimation * clutter_actor_animate_with_alphav (ClutterActor *actor,
- ClutterAlpha *alpha,
- gint n_properties,
- const gchar * const properties[],
- const GValue *values);
+/*
+ * ClutterActor API
+ */
+
+ClutterAnimation * clutter_actor_animate (ClutterActor *actor,
+ gulong mode,
+ guint duration,
+ const gchar *first_property_name,
+ ...) G_GNUC_NULL_TERMINATED;
+ClutterAnimation * clutter_actor_animate_with_timeline (ClutterActor *actor,
+ gulong mode,
+ ClutterTimeline *timeline,
+ const gchar *first_property_name,
+ ...) G_GNUC_NULL_TERMINATED;
+ClutterAnimation * clutter_actor_animatev (ClutterActor *actor,
+ gulong mode,
+ guint duration,
+ gint n_properties,
+ const gchar * const properties[],
+ const GValue *values);
+ClutterAnimation * clutter_actor_animate_with_timelinev (ClutterActor *actor,
+ gulong mode,
+ ClutterTimeline *timeline,
+ gint n_properties,
+ const gchar * const properties[],
+ const GValue *values);
+ClutterAnimation * clutter_actor_get_animation (ClutterActor *actor);
+void clutter_actor_detach_animation (ClutterActor *actor);
+
G_END_DECLS
#endif /* __CLUTTER_ANIMATION_H__ */
#include "deprecated/clutter-actor.h"
#include "deprecated/clutter-animatable.h"
+#include "deprecated/clutter-animation.h"
#include "deprecated/clutter-backend.h"
#include "deprecated/clutter-behaviour.h"
#include "deprecated/clutter-behaviour-depth.h"
#ifndef __CLUTTER_INTERVAL_H__
#define __CLUTTER_INTERVAL_H__
-#include <glib-object.h>
+#include <clutter/clutter-types.h>
G_BEGIN_DECLS
#define CLUTTER_IS_INTERVAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_INTERVAL))
#define CLUTTER_INTERVAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_INTERVAL, ClutterIntervalClass))
-typedef struct _ClutterInterval ClutterInterval;
typedef struct _ClutterIntervalPrivate ClutterIntervalPrivate;
typedef struct _ClutterIntervalClass ClutterIntervalClass;
typedef struct _ClutterAlpha ClutterAlpha;
typedef struct _ClutterAnimatable ClutterAnimatable; /* dummy */
typedef struct _ClutterAnimator ClutterAnimator;
+typedef struct _ClutterInterval ClutterInterval;
typedef struct _ClutterState ClutterState;
typedef struct _ClutterTimeline ClutterTimeline;
--- /dev/null
+/*
+ * Clutter.
+ *
+ * An OpenGL based 'interactive canvas' library.
+ *
+ * Copyright (C) 2008 Intel Corporation.
+ *
+ * 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, see <http://www.gnu.org/licenses/>.
+ *
+ * Author:
+ * Emmanuele Bassi <ebassi@linux.intel.com>
+ */
+
+#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
+#error "Only <clutter/clutter.h> can be included directly."
+#endif
+
+#ifndef __CLUTTER_ANIMATION_DEPRECATED_H__
+#define __CLUTTER_ANIMATION_DEPRECATED_H__
+
+#include <clutter/clutter-animation.h>
+
+G_BEGIN_DECLS
+
+CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_animation_set_timeline)
+void clutter_animation_set_alpha (ClutterAnimation *animation,
+ ClutterAlpha *alpha);
+
+CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_animation_get_timeline)
+ClutterAlpha * clutter_animation_get_alpha (ClutterAnimation *animation);
+
+CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_animate_with_timeline)
+ClutterAnimation * clutter_actor_animate_with_alpha (ClutterActor *actor,
+ ClutterAlpha *alpha,
+ const gchar *first_property_name,
+ ...) G_GNUC_NULL_TERMINATED;
+CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_animate_with_timelinev)
+ClutterAnimation * clutter_actor_animate_with_alphav (ClutterActor *actor,
+ ClutterAlpha *alpha,
+ gint n_properties,
+ const gchar * const properties[],
+ const GValue *values);
+
+G_END_DECLS
+
+#endif /* __CLUTTER_ANIMATION_DEPRECATED_H__ */