diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-09-28 17:30:10 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-09-28 17:30:10 +0200 |
commit | 2963a156abf75542a3171dad45ddc9bcce2eb37f (patch) | |
tree | 14f8e3f5c7ddb610b83a409b700cdd3da721ce03 /src/feh.h | |
parent | 4807123ba77c4018a1fcfa31cee04001c07ba4c5 (diff) |
Set max/min zoom for both key and mouse zooming
Diffstat (limited to 'src/feh.h')
-rw-r--r-- | src/feh.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |