X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=inline;f=libview%2Fev-view-private.h;h=0e5f44966201f93f6dbd249205cde05ec760f93c;hb=5a058f12f1606d6d87c9ed592df93b33235d3766;hp=bfc6ea2cc1e0d6422a4859563a5913a1b1f2d573;hpb=27dd64c8e65aeaa40ab6ac3472be5df31feacaf3;p=evince.git diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index bfc6ea2c..0e5f4496 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -33,7 +33,6 @@ #include "ev-image.h" #include "ev-form-field.h" #include "ev-selection.h" -#include "ev-transition-animation.h" #include "ev-view-cursor.h" #define DRAG_HISTORY 10 @@ -102,13 +101,6 @@ typedef enum { SCROLL_TO_FIND_LOCATION, } PendingScroll; -typedef enum { - EV_PRESENTATION_NORMAL, - EV_PRESENTATION_BLACK, - EV_PRESENTATION_WHITE, - EV_PRESENTATION_END -} EvPresentationState; - typedef struct _EvHeightToPageCache { gint rotation; gdouble *height_to_page; @@ -158,16 +150,9 @@ struct _EvView { gboolean continuous; gboolean dual_page; gboolean fullscreen; - gboolean presentation; EvSizingMode sizing_mode; cairo_surface_t *loading_text; - /* Presentation */ - EvPresentationState presentation_state; - EvSizingMode sizing_mode_saved; - double scale_saved; - guint trans_timeout_id; - /* Common for button press handling */ int pressed_button; @@ -191,12 +176,6 @@ struct _EvView { /* Image DND */ ImageDNDInfo image_dnd_info; - /* Goto Popup */ - GtkWidget *goto_window; - GtkWidget *goto_entry; - - EvTransitionAnimation *animation; - /* Annotations */ GList *window_children; EvViewWindowChild *window_child_focus; @@ -213,7 +192,8 @@ struct _EvViewClass { void (*external_link) (EvView *view, EvLinkAction *action); void (*popup_menu) (EvView *view, - EvLink *link); + GList *items); + void (*selection_changed) (EvView *view); }; void _get_page_size_for_scale_and_rotation (EvDocument *document,