diff options
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r-- | libview/ev-view-private.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 6e41d2ad..1d1220f3 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -73,6 +73,12 @@ typedef struct { EvImage *image; } ImageDNDInfo; +typedef enum { + EV_PAN_ACTION_NONE, + EV_PAN_ACTION_NEXT, + EV_PAN_ACTION_PREV +} EvPanAction; + /* Annotation popup windows */ typedef struct { GtkWidget *window; @@ -204,8 +210,10 @@ struct _EvView { AtkObject *accessible; /* Gestures */ + GtkGesture *pan_gesture; GtkGesture *zoom_gesture; gdouble prev_zoom_gesture_scale; + EvPanAction pan_action; }; struct _EvViewClass { |