summaryrefslogtreecommitdiff
path: root/apps/pdfapp.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2010-06-29 19:22:10 +0200
committerRobin Watts <robin.watts@artifex.com>2010-06-29 19:22:10 +0200
commitd9661dcb35f70cbd5019db4320cd24d6dbae584a (patch)
treefc1ded7bb745b59bea485ccb0dce1f52c331bdb7 /apps/pdfapp.h
parent1e36247e887afb83ab967d2415d076b69fdb1dd8 (diff)
downloadmupdf-d9661dcb35f70cbd5019db4320cd24d6dbae584a.tar.xz
Add key 'c' to toggle between color and greyscale in both X11 and Windows viewers.
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 57a2c0d2..55b467d5 100644
--- a/apps/pdfapp.h
+++ b/apps/pdfapp.h
@@ -39,6 +39,7 @@ struct pdfapp_s
int resolution;
int rotate;
fz_pixmap *image;
+ int grayscale;
/* current page params */
int pageno;