2006-08-13 23:55:52 +00:00
|
|
|
#ifndef _HAVE_CLUTTER_BEHAVIOURS_H
|
|
|
|
#define _HAVE_CLUTTER_BEHAVIOURS_H
|
|
|
|
|
|
|
|
#include <glib-object.h>
|
2006-08-28 17:11:15 +00:00
|
|
|
#include "clutter-alpha.h"
|
2006-08-29 Jorn Baayen <jorn@openedhand.com>
* clutter/clutter-behaviour.c: (_clutter_behaviour_finalize),
(_clutter_behaviour_set_property),
(_clutter_behaviour_get_property), (clutter_behaviour_class_init),
(clutter_behaviour_init), (clutter_behaviour_apply),
(clutter_behaviour_remove), (clutter_behaviour_remove_all),
(clutter_behaviour_actors_foreach):
* clutter/clutter-behaviour.h:
* clutter/clutter-behaviours.c:
(clutter_behaviour_property_change),
(clutter_behaviour_opacity_dispose),
(clutter_behaviour_opacity_finalize),
(clutter_behaviour_opacity_class_init),
(clutter_behaviour_opacity_init):
* clutter/clutter-behaviours.h:
* clutter/clutter-marshal.list:
* examples/behave.c: (main):
Behaviours track generic GObject properties.
* clutter/clutter-video-texture.h:
Remove signal prototypes - they are already specified in
clutter-media.h.
2006-08-29 13:20:29 +00:00
|
|
|
#include "clutter-behaviour.h"
|
2006-08-13 23:55:52 +00:00
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
|
|
|
#define CLUTTER_TYPE_BEHAVIOUR_PATH clutter_behaviour_path_get_type()
|
|
|
|
|
|
|
|
#define CLUTTER_BEHAVIOUR_PATH(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_PATH, ClutterBehaviourPath))
|
|
|
|
|
|
|
|
#define CLUTTER_BEHAVIOUR_PATH_CLASS(klass) \
|
|
|
|
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_PATH, ClutterBehaviourPathClass))
|
|
|
|
|
|
|
|
#define CLUTTER_IS_BEHAVIOUR_PATH(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_PATH))
|
|
|
|
|
|
|
|
#define CLUTTER_IS_BEHAVIOUR_PATH_CLASS(klass) \
|
|
|
|
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_PATH))
|
|
|
|
|
|
|
|
#define CLUTTER_BEHAVIOUR_PATH_GET_CLASS(obj) \
|
|
|
|
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_PATH, ClutterBehaviourPathClass))
|
|
|
|
|
|
|
|
typedef struct _ClutterBehaviourPath ClutterBehaviourPath;
|
|
|
|
typedef struct ClutterBehaviourPathPrivate ClutterBehaviourPathPrivate;
|
|
|
|
typedef struct _ClutterBehaviourPathClass ClutterBehaviourPathClass;
|
|
|
|
|
|
|
|
struct _ClutterBehaviourPath
|
|
|
|
{
|
|
|
|
ClutterBehaviour parent;
|
|
|
|
ClutterBehaviourPathPrivate *priv;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _ClutterBehaviourPathClass
|
|
|
|
{
|
|
|
|
ClutterBehaviourClass parent_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
GType clutter_behaviour_path_get_type (void);
|
|
|
|
|
|
|
|
ClutterBehaviour*
|
2006-08-29 Jorn Baayen <jorn@openedhand.com>
* clutter/clutter-behaviour.c: (_clutter_behaviour_finalize),
(_clutter_behaviour_set_property),
(_clutter_behaviour_get_property), (clutter_behaviour_class_init),
(clutter_behaviour_init), (clutter_behaviour_apply),
(clutter_behaviour_remove), (clutter_behaviour_remove_all),
(clutter_behaviour_actors_foreach):
* clutter/clutter-behaviour.h:
* clutter/clutter-behaviours.c:
(clutter_behaviour_property_change),
(clutter_behaviour_opacity_dispose),
(clutter_behaviour_opacity_finalize),
(clutter_behaviour_opacity_class_init),
(clutter_behaviour_opacity_init):
* clutter/clutter-behaviours.h:
* clutter/clutter-marshal.list:
* examples/behave.c: (main):
Behaviours track generic GObject properties.
* clutter/clutter-video-texture.h:
Remove signal prototypes - they are already specified in
clutter-media.h.
2006-08-29 13:20:29 +00:00
|
|
|
clutter_behaviour_path_new (GObject *object,
|
|
|
|
const char *property,
|
|
|
|
gint x1,
|
|
|
|
gint y1,
|
|
|
|
gint x2,
|
|
|
|
gint y2);
|
2006-08-13 23:55:52 +00:00
|
|
|
|
|
|
|
/* opacity */
|
|
|
|
|
|
|
|
#define CLUTTER_TYPE_BEHAVIOUR_OPACITY clutter_behaviour_opacity_get_type()
|
|
|
|
|
|
|
|
#define CLUTTER_BEHAVIOUR_OPACITY(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_OPACITY, ClutterBehaviourOpacity))
|
|
|
|
|
|
|
|
#define CLUTTER_BEHAVIOUR_OPACITY_CLASS(klass) \
|
|
|
|
(G_TYPE_CHECK_CLASS_CAST ((klass), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_OPACITY, ClutterBehaviourOpacityClass))
|
|
|
|
|
|
|
|
#define CLUTTER_IS_BEHAVIOUR_OPACITY(obj) \
|
|
|
|
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_OPACITY))
|
|
|
|
|
|
|
|
#define CLUTTER_IS_BEHAVIOUR_OPACITY_CLASS(klass) \
|
|
|
|
(G_TYPE_CHECK_CLASS_TYPE ((klass), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_OPACITY))
|
|
|
|
|
|
|
|
#define CLUTTER_BEHAVIOUR_OPACITY_GET_CLASS(obj) \
|
|
|
|
(G_TYPE_INSTANCE_GET_CLASS ((obj), \
|
|
|
|
CLUTTER_TYPE_BEHAVIOUR_OPACITY, ClutterBehaviourOpacityClass))
|
|
|
|
|
|
|
|
typedef struct _ClutterBehaviourOpacity ClutterBehaviourOpacity;
|
|
|
|
typedef struct ClutterBehaviourOpacityPrivate ClutterBehaviourOpacityPrivate;
|
|
|
|
typedef struct _ClutterBehaviourOpacityClass ClutterBehaviourOpacityClass;
|
|
|
|
|
|
|
|
struct _ClutterBehaviourOpacity
|
|
|
|
{
|
|
|
|
ClutterBehaviour parent;
|
|
|
|
ClutterBehaviourOpacityPrivate *priv;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _ClutterBehaviourOpacityClass
|
|
|
|
{
|
|
|
|
ClutterBehaviourClass parent_class;
|
|
|
|
};
|
|
|
|
|
|
|
|
GType clutter_behaviour_opacity_get_type (void);
|
|
|
|
|
|
|
|
ClutterBehaviour*
|
2006-08-29 Jorn Baayen <jorn@openedhand.com>
* clutter/clutter-behaviour.c: (_clutter_behaviour_finalize),
(_clutter_behaviour_set_property),
(_clutter_behaviour_get_property), (clutter_behaviour_class_init),
(clutter_behaviour_init), (clutter_behaviour_apply),
(clutter_behaviour_remove), (clutter_behaviour_remove_all),
(clutter_behaviour_actors_foreach):
* clutter/clutter-behaviour.h:
* clutter/clutter-behaviours.c:
(clutter_behaviour_property_change),
(clutter_behaviour_opacity_dispose),
(clutter_behaviour_opacity_finalize),
(clutter_behaviour_opacity_class_init),
(clutter_behaviour_opacity_init):
* clutter/clutter-behaviours.h:
* clutter/clutter-marshal.list:
* examples/behave.c: (main):
Behaviours track generic GObject properties.
* clutter/clutter-video-texture.h:
Remove signal prototypes - they are already specified in
clutter-media.h.
2006-08-29 13:20:29 +00:00
|
|
|
clutter_behaviour_opacity_new (GObject *object,
|
|
|
|
const char *property,
|
|
|
|
guint8 opacity_start,
|
|
|
|
guint8 opacity_end);
|
|
|
|
|
|
|
|
ClutterBehaviour*
|
|
|
|
clutter_behaviour_opacity_new_from_alpha (ClutterAlpha *alpha,
|
|
|
|
guint8 opacity_start,
|
|
|
|
guint8 opacity_end);
|
2006-08-13 23:55:52 +00:00
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif
|