diff options
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 |