summaryrefslogtreecommitdiff
path: root/src/feh.h
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-09-28 17:30:10 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-09-28 17:30:10 +0200
commit2963a156abf75542a3171dad45ddc9bcce2eb37f (patch)
tree14f8e3f5c7ddb610b83a409b700cdd3da721ce03 /src/feh.h
parent4807123ba77c4018a1fcfa31cee04001c07ba4c5 (diff)
Set max/min zoom for both key and mouse zooming
Diffstat (limited to 'src/feh.h')
-rw-r--r--src/feh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/feh.h b/src/feh.h
index 4de4632..d4a1ff7 100644
--- a/src/feh.h
+++ b/src/feh.h
@@ -107,6 +107,9 @@ enum image_bg { IMAGE_BG_CHECKS = 0, IMAGE_BG_BLACK, IMAGE_BG_WHITE };
#define INPLACE_EDIT_FLIP -1
#define INPLACE_EDIT_MIRROR -2
+#define ZOOM_MIN 0.002
+#define ZOOM_MAX 2000
+
typedef void (*sighandler_t) (int);
int feh_main_iteration(int block);