Make pan fraction configurable

This commit is contained in:
jcalve
2017-07-23 02:15:47 +02:00
committed by Bert Münnich
parent 30e9ec8970
commit ec545a6b6c
2 changed files with 6 additions and 3 deletions

View File

@ -40,6 +40,9 @@ enum { SLIDESHOW_DELAY = 5 };
static const double GAMMA_MAX = 10.0;
static const int GAMMA_RANGE = 32;
/* command i_scroll pans image 1/PAN_FRACTION of screen width/height */
static const int PAN_FRACTION = 5;
/* if false, pixelate images at zoom level != 100%,
* toggled with 'a' key binding
*/