aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2015-12-20 13:10:24 +0100
committerBert Münnich <ber.t@posteo.de>2015-12-20 13:10:39 +0100
commitde4649fc283afc4e3c8b9aefab2f89d1c83803b1 (patch)
treebb800494716622b03e9633beb42791820bcb646c /config.def.h
parenta7d39b0ab8fabb4f6417bb69a4e70d9da598d1aa (diff)
downloadnsxiv-de4649fc283afc4e3c8b9aefab2f89d1c83803b1.tar.zst
Build-time option for default thumbnail size; fixes issue #207
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index ac32bd7..f3cc71e 100644
--- a/config.def.h
+++ b/config.def.h
@@ -56,6 +56,9 @@ static const bool ALPHA_LAYER = false;
/* thumbnail sizes in pixels (width == height): */
static const int thumb_sizes[] = { 32, 64, 96, 128, 160 };
+/* thumbnail size at startup, index into thumb_sizes[]: */
+static const int THUMB_SIZE = 3;
+
#endif
#ifdef _MAPPINGS_CONFIG