summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-04-06 22:47:42 +0200
committerBert Münnich <ber.t@posteo.de>2014-04-06 22:47:42 +0200
commite685859a30560e076db4de003fba4e4500ade2c7 (patch)
tree8372fdc425be8bbd876dd931bbb30c6fd82bed06 /config.def.h
parent6d7acac3d132c5be09a9a4e8d0f4ebd4972e9385 (diff)
downloadnsxiv-e685859a30560e076db4de003fba4e4500ade2c7.tar.zst
Use a checkerboard background for alpha layer; fixes issue #138
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/config.def.h b/config.def.h
index 4236302..03d05bb 100644
--- a/config.def.h
+++ b/config.def.h
@@ -47,24 +47,21 @@ enum {
static const double GAMMA_MAX = 10.0;
static const int GAMMA_RANGE = 32;
-#endif
-#ifdef _THUMBS_CONFIG
-
-/* default dimension of thumbnails (width == height): */
-enum { THUMB_SIZE = 60 };
-
-#endif
-#ifdef _RENDER_CONFIG
-
/* if false, pixelate images at zoom level != 100%,
* toggled with 'a' key binding
*/
-static const bool RENDER_ANTI_ALIAS = true;
+static const bool ANTI_ALIAS = true;
-/* if true, use white background for alpha layer,
+/* if true, use a checkerboard background for alpha layer,
* toggled with 'A' key binding
*/
-static const bool RENDER_WHITE_ALPHA = false;
+static const bool ALPHA_LAYER = false;
+
+#endif
+#ifdef _THUMBS_CONFIG
+
+/* default dimension of thumbnails (width == height): */
+enum { THUMB_SIZE = 60 };
#endif
#ifdef _MAPPINGS_CONFIG
@@ -145,7 +142,7 @@ static const keymap_t keys[] = {
{ 0, XK_s, i_slideshow, (arg_t) None },
{ 0, XK_a, i_toggle_antialias, (arg_t) None },
- { 0, XK_A, it_toggle_alpha, (arg_t) None },
+ { 0, XK_A, i_toggle_alpha, (arg_t) None },
{ 0, XK_braceleft, i_change_gamma, (arg_t) -1 },
{ 0, XK_braceright, i_change_gamma, (arg_t) +1 },