From 59472e3211bc7acd1656fa98c072e387b83800f4 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Mon, 25 Apr 2005 04:42:35 +0200 Subject: 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. --- include/pdfapp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/pdfapp.h') 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); -- cgit v1.2.3