summaryrefslogtreecommitdiffstats
path: root/sxiv.h
diff options
context:
space:
mode:
authorphi <crispyfrog@163.com>2018-01-12 13:39:46 +0100
committerBert Münnich <ber.t@posteo.de>2018-01-22 09:46:38 +0100
commitd5c5708110bcaa60815d7648260f9688bbd12824 (patch)
tree0560ffe8af3561cea3111120e07e0dc11119dd84 /sxiv.h
parent8017b75de4c2a77245f5ae9d635cc026c00783a7 (diff)
downloadnsxiv-d5c5708110bcaa60815d7648260f9688bbd12824.tar.zst
Use argument to select between two drag methods
Diffstat (limited to 'sxiv.h')
-rw-r--r--sxiv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sxiv.h b/sxiv.h
index 4e384c8..d1acb4c 100644
--- a/sxiv.h
+++ b/sxiv.h
@@ -94,6 +94,11 @@ typedef enum {
} scalemode_t;
typedef enum {
+ DRAG_RELATIVE,
+ DRAG_ABSOLUTE
+} dragmode_t;
+
+typedef enum {
CURSOR_ARROW,
CURSOR_DRAG,
CURSOR_WATCH,