aboutsummaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-10 18:41:20 +0200
committerBert <ber.t@gmx.com>2011-09-10 18:41:20 +0200
commit510512714df01110cf42cb2a11d944f55297c5cc (patch)
tree38a7393df90254e9d89e80c37c9ae4a16eb58b6b /config.def.h
parent79d780a701e47ea1aacf49728e28900bb2b17743 (diff)
Added slideshow support
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index d5a9463..50cecb8 100644
--- a/config.def.h
+++ b/config.def.h
@@ -29,6 +29,9 @@ static const float zoom_levels[] = {
100.0, 150.0, 200.0, 400.0, 800.0
};
+/* default slideshow delay (in sec, overwritten via -S option): */
+enum { SLIDESHOW_DELAY = 5 };
+
/* default settings for multi-frame gif images: */
enum {
GIF_DELAY = 100, /* delay time (in ms) */
@@ -104,6 +107,11 @@ static const keymap_t keys[] = {
{ False, XK_less, i_rotate, (arg_t) DIR_LEFT },
{ False, XK_greater, i_rotate, (arg_t) DIR_RIGHT },
+ { False, XK_s, i_toggle_slideshow, (arg_t) None },
+ { True, XK_plus, i_adjust_slideshow, (arg_t) +1 },
+ { True, XK_equal, i_adjust_slideshow, (arg_t) +1 },
+ { True, XK_minus, i_adjust_slideshow, (arg_t) -1 },
+
{ False, XK_a, i_toggle_antialias, (arg_t) None },
{ False, XK_A, it_toggle_alpha, (arg_t) None },