From d5c5708110bcaa60815d7648260f9688bbd12824 Mon Sep 17 00:00:00 2001 From: phi Date: Fri, 12 Jan 2018 20:39:46 +0800 Subject: Use argument to select between two drag methods --- sxiv.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sxiv.h') diff --git a/sxiv.h b/sxiv.h index 4e384c8..d1acb4c 100644 --- a/sxiv.h +++ b/sxiv.h @@ -93,6 +93,11 @@ typedef enum { SCALE_ZOOM } scalemode_t; +typedef enum { + DRAG_RELATIVE, + DRAG_ABSOLUTE +} dragmode_t; + typedef enum { CURSOR_ARROW, CURSOR_DRAG, -- cgit v1.2.3