summaryrefslogtreecommitdiff
path: root/include/pdfapp.h
diff options
context:
space:
mode:
authorRalph Giles <giles@ghostscript.com>2005-04-25 04:42:35 +0200
committerRalph Giles <giles@ghostscript.com>2005-04-25 04:42:35 +0200
commit59472e3211bc7acd1656fa98c072e387b83800f4 (patch)
tree207000968e2fe0407230901d044a7f7da4878805 /include/pdfapp.h
parent94eb5cef1df52e509dfb59cd99c9258663562945 (diff)
downloadmupdf-59472e3211bc7acd1656fa98c072e387b83800f4.tar.xz
refactor macos to use pdfapp
Rehook the event loops to use the pdfapp viewer abstraction rather than our own version of that code. There's still some cruft with the GetData and SetData events, but it works under the new framework.
Diffstat (limited to 'include/pdfapp.h')
-rw-r--r--include/pdfapp.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/pdfapp.h b/include/pdfapp.h
index cffd2eb7..407427e8 100644
--- a/include/pdfapp.h
+++ b/include/pdfapp.h
@@ -48,7 +48,6 @@ struct pdfapp_s
int shrinkwrap;
/* event handling state */
-
char number[256];
int numberlen;
@@ -58,6 +57,9 @@ struct pdfapp_s
int iscopying;
int selx, sely;
fz_irect selr;
+
+ /* client context storage */
+ void *userdata;
};
void pdfapp_init(pdfapp_t *app);