diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-11-17 21:48:20 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-11-22 16:52:38 +0100 |
commit | 6b166e7d69121aa321ec6173697c53c66fd17001 (patch) | |
tree | 58623aca7461d0db8d2093aa763e83b32cb88574 /ios/document.h | |
parent | 97ca1a0cbee19553bdc60bf18552738d6776da9f (diff) | |
download | mupdf-6b166e7d69121aa321ec6173697c53c66fd17001.tar.xz |
Display search results and search in background thread.
Diffstat (limited to 'ios/document.h')
-rw-r--r-- | ios/document.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ios/document.h b/ios/document.h index 00805a5d..95aa9703 100644 --- a/ios/document.h +++ b/ios/document.h @@ -20,6 +20,8 @@ struct document int number; pdf_page *pdf_page; xps_page *xps_page; + fz_bbox hit_bbox[500]; + int hit_count; }; struct document *open_document(char *filename); @@ -28,6 +30,7 @@ int count_pages(struct document *doc); void measure_page(struct document *doc, int number, float *w, float *h); void draw_page(struct document *doc, int number, fz_device *dev, fz_matrix ctm); int search_page(struct document *doc, int number, char *needle); +fz_bbox search_result_bbox(struct document *doc, int i); void close_document(struct document *doc); #endif |