diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-01-18 11:53:54 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2009-01-18 11:53:54 (GMT) |
commit | 68d0fc3c59185065d9694ba3f8cb2665b984eb9f (patch) | |
tree | 1c3495114d26e1b9d201c557c351d5cf3996f925 /shell/ev-transition-animation.h | |
parent | 51e1ae36121928f84940b8e8dcb317f87157933b (diff) |
Move EvView specific code to a libeviview library so that it can be
2009-01-18 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* Makefile.am:
* libdocument/Makefile.am:
* libview/Makefile.am:
* libview/ev-job-scheduler.[ch]:
* libview/ev-jobs.[ch]:
* libview/ev-page-cache.[ch]:
* libview/ev-pixbuf-cache.[ch]:
* libview/ev-timeline.[ch]:
* libview/ev-transition-animation.[ch]:
* libview/ev-view-accessible.[ch]:
* libview/ev-view-marshal.list:
* libview/ev-view.[ch]:
* shell/Makefile.am:
Move EvView specific code to a libeviview library so that it can
be embbeded in other applications. Based on patches by Tomeu
Vizoso. Fixes bug #567751.
svn path=/trunk/; revision=3348
Diffstat (limited to 'shell/ev-transition-animation.h')
-rw-r--r-- | shell/ev-transition-animation.h | 68 |
1 files changed, 0 insertions, 68 deletions
diff --git a/shell/ev-transition-animation.h b/shell/ev-transition-animation.h deleted file mode 100644 index 522caf2..0000000 --- a/shell/ev-transition-animation.h +++ /dev/null @@ -1,68 +0,0 @@ -/* ev-transition-animation.h - * this file is part of evince, a gnome document viewer - * - * Copyright (C) 2007 Carlos Garnacho <carlos@imendio.com> - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Library 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 - * Library General Public License for more details. - * - * You should have received a copy of the GNU Library 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 __EV_TRANSITION_ANIMATION_H__ -#define __EV_TRANSITION_ANIMATION_H__ - -#include "ev-timeline.h" -#include "ev-transition-effect.h" - -G_BEGIN_DECLS - -#define EV_TYPE_TRANSITION_ANIMATION (ev_transition_animation_get_type ()) -#define EV_TRANSITION_ANIMATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_TRANSITION_ANIMATION, EvTransitionAnimation)) -#define EV_TRANSITION_ANIMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_TRANSITION_ANIMATION, EvTransitionAnimationClass)) -#define EV_IS_TRANSITION_ANIMATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_TRANSITION_ANIMATION)) -#define EV_IS_TRANSITION_ANIMATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_TRANSITION_ANIMATION)) -#define EV_TRANSITION_ANIMATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EV_TYPE_TRANSITION_ANIMATION, EvTransitionAnimationClass)) - -typedef struct EvTransitionAnimation EvTransitionAnimation; -typedef struct EvTransitionAnimationClass EvTransitionAnimationClass; - -struct EvTransitionAnimation { - EvTimeline parent_instance; -}; - -struct EvTransitionAnimationClass { - EvTimelineClass parent_class; -}; - - -GType ev_transition_animation_get_type (void) G_GNUC_CONST; - -EvTransitionAnimation * ev_transition_animation_new (EvTransitionEffect *effect); - -void ev_transition_animation_set_origin_surface (EvTransitionAnimation *animation, - cairo_surface_t *origin_surface); -void ev_transition_animation_set_dest_surface (EvTransitionAnimation *animation, - cairo_surface_t *origin_surface); -gint ev_transition_animation_get_page_from (EvTransitionAnimation *animation); -gint ev_transition_animation_get_page_to (EvTransitionAnimation *animation); - -void ev_transition_animation_paint (EvTransitionAnimation *animation, - cairo_t *cr, - GdkRectangle page_area); -gboolean ev_transition_animation_ready (EvTransitionAnimation *animation); - - -G_END_DECLS - -#endif /* __EV_TRANSITION_ANIMATION_H__ */ |