1 /* GStreamer Editing Services
2 * Copyright (C) 2010 Brandon Lewis <brandon.lewis@collabora.co.uk>
3 * 2010 Nokia Corporation
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301, USA.
23 #include <glib-object.h>
24 #include <ges/ges-types.h>
25 #include <ges/ges-transition.h>
29 #define GES_TYPE_VIDEO_TRANSITION ges_video_transition_get_type()
30 GES_DECLARE_TYPE(VideoTransition, video_transition, VIDEO_TRANSITION);
36 struct _GESVideoTransition {
41 GESVideoTransitionPrivate *priv;
43 /* Padding for API extension */
44 gpointer _ges_reserved[GES_PADDING];
48 * GESVideoTransitionClass:
49 * @parent_class: parent class
53 struct _GESVideoTransitionClass {
54 GESTransitionClass parent_class;
57 /* Padding for API extension */
58 gpointer _ges_reserved[GES_PADDING];
62 GESVideoTransition* ges_video_transition_new (void);
65 gboolean ges_video_transition_set_transition_type (GESVideoTransition * self,
66 GESVideoStandardTransitionType type);
67 GES_API GESVideoStandardTransitionType
68 ges_video_transition_get_transition_type (GESVideoTransition * trans);
70 GES_DEPRECATED_FOR(ges_timeline_element_set_children_properties)
71 void ges_video_transition_set_border (GESVideoTransition * self,
73 GES_DEPRECATED_FOR(ges_timeline_element_get_children_properties)
74 gint ges_video_transition_get_border (GESVideoTransition * self);
76 GES_DEPRECATED_FOR(ges_timeline_element_set_children_properties)
77 void ges_video_transition_set_inverted (GESVideoTransition * self,
79 GES_DEPRECATED_FOR(ges_timeline_element_get_children_properties)
80 gboolean ges_video_transition_is_inverted (GESVideoTransition * self);