Use argument to select between two drag methods

This commit is contained in:
phi
2018-01-12 20:39:46 +08:00
committed by Bert Münnich
parent 8017b75de4
commit d5c5708110
4 changed files with 22 additions and 8 deletions

5
sxiv.h
View File

@ -93,6 +93,11 @@ typedef enum {
SCALE_ZOOM
} scalemode_t;
typedef enum {
DRAG_RELATIVE,
DRAG_ABSOLUTE
} dragmode_t;
typedef enum {
CURSOR_ARROW,
CURSOR_DRAG,