4 * An OpenGL based 'interactive canvas' library.
6 * Copyright (C) 2012 Intel Corporation
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
21 * Author: Emmanuele Bassi <ebassi@linux.intel.com>
24 #ifndef __CLUTTER_TRANSITION_GROUP_H__
25 #define __CLUTTER_TRANSITION_GROUP_H__
27 #include <clutter/clutter-types.h>
28 #include <clutter/clutter-transition.h>
32 #define CLUTTER_TYPE_TRANSITION_GROUP (clutter_transition_group_get_type ())
33 #define CLUTTER_TRANSITION_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_TRANSITION_GROUP, ClutterTransitionGroup))
34 #define CLUTTER_IS_TRANSITION_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_TRANSITION_GROUP))
35 #define CLUTTER_TRANSITION_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_TRANSITION_GROUP, ClutterTransitionGroupClass))
36 #define CLUTTER_IS_TRANSITION_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_TRANSITION_GROUP))
37 #define CLUTTER_TRANSITION_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_TRANSITION_GROUP, ClutterTransitionGroup))
39 typedef struct _ClutterTransitionGroupPrivate ClutterTransitionGroupPrivate;
40 typedef struct _ClutterTransitionGroupClass ClutterTransitionGroupClass;
43 * ClutterTransitionGroup:
45 * The <structname>ClutterTransitionGroup</structname> structure contains
46 * private data and should only be accessed using the provided API.
50 struct _ClutterTransitionGroup
53 ClutterTransition parent_instance;
55 ClutterTransitionGroupPrivate *priv;
59 * ClutterTransitionGroupClass:
61 * The <structname>ClutterTransitionGroupClass</structname> structure
62 * contains only private data.
66 struct _ClutterTransitionGroupClass
69 ClutterTransitionClass parent_class;
74 CLUTTER_AVAILABLE_IN_1_12
75 GType clutter_transition_group_get_type (void) G_GNUC_CONST;
77 CLUTTER_AVAILABLE_IN_1_12
78 ClutterTransition * clutter_transition_group_new (void);
80 CLUTTER_AVAILABLE_IN_1_12
81 void clutter_transition_group_add_transition (ClutterTransitionGroup *group,
82 ClutterTransition *transition);
83 CLUTTER_AVAILABLE_IN_1_12
84 void clutter_transition_group_remove_transition (ClutterTransitionGroup *group,
85 ClutterTransition *transition);
86 CLUTTER_AVAILABLE_IN_1_12
87 void clutter_transition_group_remove_all (ClutterTransitionGroup *group);
91 #endif /* __CLUTTER_TRANSITION_GROUP_H__ */