summaryrefslogtreecommitdiff
path: root/apps/pdfapp.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-03-19 12:00:27 +0000
committerRobin Watts <robin.watts@artifex.com>2012-03-19 12:00:27 +0000
commitf6f34747ce072f30a15dfc5390833741ff8c56fc (patch)
treec9db3c2023ff0f3d51c7d0a8033afac2406ec585 /apps/pdfapp.h
parenteeb1b4fffb5ee88d251d2773d9ae0fc1f8316b56 (diff)
downloadmupdf-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.h1
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;