summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorBert Münnich <be.muennich@gmail.com>2013-08-22 12:59:05 +0200
committerBert Münnich <be.muennich@gmail.com>2013-08-22 12:59:05 +0200
commit26a624a543f2e723550996d76d90ccbb7b954aeb (patch)
tree8799c977b965656ccea3c9ec14c7ba00f0204a0f /config.def.h
parentfb6e4bdd980f72082a264894c12ed7e0650a5bf9 (diff)
downloadnsxiv-26a624a543f2e723550996d76d90ccbb7b954aeb.tar.zst
Added options for anti-alias & alpha layer coloring to config.def.h
Also removed now obsolete -p command line option; fixes issue #98
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index d24723d..f5d048a 100644
--- a/config.def.h
+++ b/config.def.h
@@ -53,6 +53,19 @@ enum {
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;
+
+/* if true, use white background for alpha layer,
+ * toggled with 'A' key binding
+ */
+static const bool RENDER_WHITE_ALPHA = false;
+
+#endif
#ifdef _MAPPINGS_CONFIG
/* keyboard mappings for image and thumbnail mode: */