]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-view-private.h
Removed shell/ev-view-private.h
[evince.git] / shell / ev-view-private.h
index 22bd7a0e76b7863c15822c5e806e3d44d52331c8..c89444038f7f977bef73a3e7aae3086591f7998d 100644 (file)
 #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,