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=0643fa876a26a981c6f4f09a869b02d709b21189;hb=0be3be0d4166be324d628802772e99cacd336f11;hp=22bd7a0e76b7863c15822c5e806e3d44d52331c8;hpb=14633f07b92d515ca0c4447506fa938b3568f013;p=evince.git diff --git a/shell/ev-view-private.h b/shell/ev-view-private.h index 22bd7a0e..0643fa87 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,6 +163,9 @@ struct _EvView { EvViewSelectionMode selection_mode; SelectionInfo selection_info; + /* Copy link address selection */ + EvLinkAction *link_selected; + /* Image DND */ ImageDNDInfo image_dnd_info; @@ -166,13 +178,15 @@ struct _EvView { /* 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,