diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-01-18 13:30:28 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-01-18 13:30:28 +0100 |
commit | b2c87fcd70b3f069388755baf7baa6b3c2590123 (patch) | |
tree | ce06e8c79926a4a7b2b9af7cd2b4761f24a42e24 /apps/pdfapp.h | |
parent | 4edaee4fafa76a5ac5daf873167ba0cda8af4bc4 (diff) | |
download | mupdf-b2c87fcd70b3f069388755baf7baa6b3c2590123.tar.xz |
Add fullscreen mode to mupdf viewer.
Toggle with 'f'. Fullscreen turns off shrinkwrap, and shrinkwrap turns
off fullscreen.
Diffstat (limited to 'apps/pdfapp.h')
-rw-r--r-- | apps/pdfapp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/pdfapp.h b/apps/pdfapp.h index b23f939a..7aad1238 100644 --- a/apps/pdfapp.h +++ b/apps/pdfapp.h @@ -25,6 +25,7 @@ extern void winreloadfile(pdfapp_t*); extern void windrawstring(pdfapp_t*, int x, int y, char *s); extern void winclose(pdfapp_t*); extern void winhelp(pdfapp_t*); +extern void winfullscreen(pdfapp_t*, int state); struct pdfapp_s { @@ -58,6 +59,7 @@ struct pdfapp_s int winw, winh; int scrw, scrh; int shrinkwrap; + int fullscreen; /* event handling state */ char number[256]; |