diff options
author | Bert Münnich <be.muennich@gmail.com> | 2013-08-22 12:59:05 +0200 |
---|---|---|
committer | Bert Münnich <be.muennich@gmail.com> | 2013-08-22 12:59:05 +0200 |
commit | 26a624a543f2e723550996d76d90ccbb7b954aeb (patch) | |
tree | 8799c977b965656ccea3c9ec14c7ba00f0204a0f /config.def.h | |
parent | fb6e4bdd980f72082a264894c12ed7e0650a5bf9 (diff) | |
download | nsxiv-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.h | 13 |
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: */ |