X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-view-private.h;h=c89444038f7f977bef73a3e7aae3086591f7998d;hb=81c134286178c1b09b7505c1a9e8fba0c612fe1f;hp=22bd7a0e76b7863c15822c5e806e3d44d52331c8;hpb=14633f07b92d515ca0c4447506fa938b3568f013;p=evince.git diff --git a/shell/ev-view-private.h b/shell/ev-view-private.h index 22bd7a0e..c8944403 100644 --- a/shell/ev-view-private.h +++ b/shell/ev-view-private.h @@ -24,9 +24,13 @@ #include "ev-view.h" #include "ev-pixbuf-cache.h" #include "ev-page-cache.h" +#include "ev-jobs.h" #include "ev-image.h" #include "ev-form-field.h" #include "ev-selection.h" +#include "ev-transition-animation.h" + +#define DRAG_HISTORY 10 /* Information for middle clicking and moving around the doc */ typedef struct { @@ -34,6 +38,10 @@ typedef struct { GdkPoint start; gdouble hadj; gdouble vadj; + guint drag_timeout_id; + guint release_timeout_id; + GdkPoint buffer[DRAG_HISTORY]; + GdkPoint momentum; } DragInfo; /* Autoscrolling */ @@ -89,8 +97,9 @@ struct _EvView { EvDocument *document; - char *find_status; - int find_result; + /* Find */ + GList **find_pages; + gint find_result; gboolean jump_to_find_result; gboolean highlight_find_results; @@ -154,25 +163,24 @@ struct _EvView { EvViewSelectionMode selection_mode; SelectionInfo selection_info; + /* Copy link address selection */ + EvLinkAction *link_selected; + /* Image DND */ ImageDNDInfo image_dnd_info; -#if !GTK_CHECK_VERSION (2, 11, 7) - /* Links */ - GtkWidget *link_tooltip; - EvLink *hovered_link; -#endif - /* Goto Popup */ GtkWidget *goto_window; GtkWidget *goto_entry; + + EvTransitionAnimation *animation; }; struct _EvViewClass { GtkLayoutClass parent_class; void (*binding_activated) (EvView *view, - EvScrollType scroll, + GtkScrollType scroll, gboolean horizontal); void (*zoom_invalid) (EvView *view); void (*handle_link) (EvView *view,