summaryrefslogtreecommitdiff
path: root/apps/pdfapp.h
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-05-27 16:51:15 +0200
committerTor Andersson <tor@ghostscript.com>2010-05-27 16:51:15 +0200
commit11a208aa2e60954aef668c03d199808347d38c26 (patch)
tree574cb750dd2d8d9212d405f0c415ea2f3025fa3e /apps/pdfapp.h
parent9b79a247b765d4d3344c9c34fb49d47dee2d3ae5 (diff)
downloadmupdf-11a208aa2e60954aef668c03d199808347d38c26.tar.xz
Change command line options to x11 viewer.
Diffstat (limited to 'apps/pdfapp.h')
-rw-r--r--apps/pdfapp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/pdfapp.h b/apps/pdfapp.h
index 37f11895..db355fe3 100644
--- a/apps/pdfapp.h
+++ b/apps/pdfapp.h
@@ -4,6 +4,9 @@
* uses a number of callbacks to the GUI app.
*/
+#define MINRES 54
+#define MAXRES 300
+
typedef struct pdfapp_s pdfapp_t;
enum { ARROW, HAND, WAIT };
@@ -30,7 +33,7 @@ struct pdfapp_s
fz_glyphcache *cache;
/* current view params */
- float zoom;
+ int resolution;
int rotate;
fz_pixmap *image;
fz_textspan *text;