diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-03-19 12:00:27 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-03-19 12:00:27 +0000 |
commit | f6f34747ce072f30a15dfc5390833741ff8c56fc (patch) | |
tree | c9db3c2023ff0f3d51c7d0a8033afac2406ec585 /apps/pdfapp.h | |
parent | eeb1b4fffb5ee88d251d2773d9ae0fc1f8316b56 (diff) | |
download | mupdf-f6f34747ce072f30a15dfc5390833741ff8c56fc.tar.xz |
Add simple 'inverted color' mode for mupdf viewer.
Use 'i' to toggle inversion of the rendered MuPDF bitmap, giving
simple 'white on black' mode.
Diffstat (limited to 'apps/pdfapp.h')
-rw-r--r-- | apps/pdfapp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/pdfapp.h b/apps/pdfapp.h index db83335f..6812323b 100644 --- a/apps/pdfapp.h +++ b/apps/pdfapp.h @@ -46,6 +46,7 @@ struct pdfapp_s int rotate; fz_pixmap *image; int grayscale; + int invert; /* current page params */ int pageno; |