diff options
author | Paul Gardiner <paul@glidos.net> | 2012-05-08 12:35:00 +0100 |
---|---|---|
committer | Paul Gardiner <paul@glidos.net> | 2012-05-08 12:35:00 +0100 |
commit | 50b0de6e463ebd954b1a97a2cd093731335f1671 (patch) | |
tree | 9a632a6a346a8d4c941f636ca5fcf2ffb2e6bf0c /fitz/fitz-internal.h | |
parent | 6a6d2016149c731dfa3a485b1bf0b46d7127681d (diff) | |
download | mupdf-50b0de6e463ebd954b1a97a2cd093731335f1671.tar.xz |
Forms: handle field appearance change on mouse up/down
Diffstat (limited to 'fitz/fitz-internal.h')
-rw-r--r-- | fitz/fitz-internal.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index 97bbfa5c..92896da0 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -830,6 +830,15 @@ fz_pixmap *fz_render_stroked_glyph(fz_context *ctx, fz_font*, int, fz_matrix, fz void fz_render_t3_glyph_direct(fz_context *ctx, fz_device *dev, fz_font *font, int gid, fz_matrix trm, void *gstate); /* + * Forms + */ +struct fz_widget +{ + int type; + fz_bbox bbox; +}; + +/* * Text buffer. * * The trm field contains the a, b, c and d coefficients. @@ -1085,6 +1094,9 @@ struct fz_document_s void (*run_page)(fz_document *doc, fz_page *page, fz_device *dev, fz_matrix transform, fz_cookie *cookie); void (*free_page)(fz_document *doc, fz_page *page); int (*meta)(fz_document *doc, int key, void *ptr, int size); + int (*pass_event)(fz_document *doc, fz_page *page, fz_ui_event *ui_event); + fz_rect *(*get_screen_update)(fz_document *doc); + fz_widget *(*get_focussed_widget)(fz_document *doc); }; #endif |