Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-view-private.h')
-rw-r--r--shell/ev-view-private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/ev-view-private.h b/shell/ev-view-private.h
index 22bd7a0..a2a2812 100644
--- a/shell/ev-view-private.h
+++ b/shell/ev-view-private.h
@@ -28,12 +28,18 @@
#include "ev-form-field.h"
#include "ev-selection.h"
+#define DRAG_HISTORY 10
+
/* Information for middle clicking and moving around the doc */
typedef struct {
gboolean in_drag;
GdkPoint start;
gdouble hadj;
gdouble vadj;
+ guint drag_timeout_id;
+ guint release_timeout_id;
+ GdkPoint buffer[DRAG_HISTORY];
+ GdkPoint momentum;
} DragInfo;
/* Autoscrolling */