aboutsummaryrefslogtreecommitdiffstats
path: root/config.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-08-18 16:05:32 +0200
committerBert <ber.t@gmx.com>2011-08-19 15:22:16 +0200
commit8b3ae5027e9490bd7edfeea3d3cd2fbc5ec4beaf (patch)
tree5193b41e1a661812216c580be943a4cc6a66f698 /config.h
parenta4b90aee2001d0b0f458f3d741fbf5bcad04a7cb (diff)
downloadnsxiv-8b3ae5027e9490bd7edfeea3d3cd2fbc5ec4beaf.tar.zst
Added support for gif animation
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.h b/config.h
index a55ea18..07371c9 100644
--- a/config.h
+++ b/config.h
@@ -29,6 +29,13 @@ static const float zoom_levels[] = {
100.0, 150.0, 200.0, 400.0, 800.0
};
+/* default settings for gif images: */
+enum {
+ GIF_DELAY = 100, /* delay time (in ms) */
+ GIF_AUTOPLAY = 1, /* autoplay when loaded [0/1] */
+ GIF_LOOP = 0 /* endless loop [0/1] */
+};
+
#endif
#ifdef _THUMBS_CONFIG