aboutsummaryrefslogtreecommitdiffstats
path: root/nsxiv.h
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-08-17 16:54:14 +0200
committerNRK <nrk@disroot.org>2022-09-10 15:43:07 +0200
commit88a480c9388d698f123bf892f33197d7bd1cfb9b (patch)
treeaa0e9e3075c0d3f8f71355e0fde9cfa7025b1e75 /nsxiv.h
parent7e3e6008fec8f7de8fa3c3545a76d5380ba48944 (diff)
downloadnsxiv-88a480c9388d698f123bf892f33197d7bd1cfb9b.tar.zst
allow disabling anti-aliasing via cli flag
simply running nsxiv with `--anti-alias` will enable anti-aliasing, and running it with `--anti-alias=no` will disable it. the cli flag will overwrite the config.h default. Closes: https://codeberg.org/nsxiv/nsxiv/issues/349
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/nsxiv.h b/nsxiv.h
index 7262e1e..17a28b0 100644
--- a/nsxiv.h
+++ b/nsxiv.h
@@ -237,6 +237,7 @@ struct opt {
scalemode_t scalemode;
float zoom;
bool animate;
+ bool aa;
int gamma;
int slideshow;
int framerate;