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.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/ev-view-private.h b/shell/ev-view-private.h
index f1f5ad5..ec1fa02 100644
--- a/shell/ev-view-private.h
+++ b/shell/ev-view-private.h
@@ -24,6 +24,7 @@
#include "ev-view.h"
#include "ev-pixbuf-cache.h"
#include "ev-page-cache.h"
+#include "ev-image.h"
/* Information for middle clicking and moving around the doc */
typedef struct {
@@ -41,6 +42,13 @@ typedef struct {
GList *selections;
} SelectionInfo;
+/* Information for handling images DND */
+typedef struct {
+ gboolean in_drag;
+ GdkPoint start;
+ EvImage *image;
+} ImageDNDInfo;
+
typedef enum {
SCROLL_TO_KEEP_POSITION,
SCROLL_TO_PAGE_POSITION,
@@ -127,6 +135,9 @@ struct _EvView {
EvViewSelectionMode selection_mode;
SelectionInfo selection_info;
+ /* Image DND */
+ ImageDNDInfo image_dnd_info;
+
/* Links */
GtkWidget *link_tooltip;
EvLink *hovered_link;