X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2Fev-pixbuf-cache.h;h=94673c2e083de8d943abb3861d45063ca8211c3d;hb=1600e0323e398d2e235121e9e25df70853095e4c;hp=5e48f2845c10f848fa75ab7e2374b3c1fcbed491;hpb=68d0fc3c59185065d9694ba3f8cb2665b984eb9f;p=evince.git diff --git a/libview/ev-pixbuf-cache.h b/libview/ev-pixbuf-cache.h index 5e48f284..94673c2e 100644 --- a/libview/ev-pixbuf-cache.h +++ b/libview/ev-pixbuf-cache.h @@ -21,13 +21,16 @@ * ev-view.c from exploding. */ +#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __EV_PIXBUF_CACHE_H__ #define __EV_PIXBUF_CACHE_H__ #include -#include "ev-document.h" -#include "ev-selection.h" +#include G_BEGIN_DECLS @@ -69,13 +72,17 @@ GdkRegion *ev_pixbuf_cache_get_text_mapping (EvPixbufCache *pixbuf_cache gint page); GList *ev_pixbuf_cache_get_form_field_mapping (EvPixbufCache *pixbuf_cache, gint page); +GList *ev_pixbuf_cache_get_annots_mapping (EvPixbufCache *pixbuf_cache, + gint page); void ev_pixbuf_cache_clear (EvPixbufCache *pixbuf_cache); void ev_pixbuf_cache_style_changed (EvPixbufCache *pixbuf_cache); void ev_pixbuf_cache_reload_page (EvPixbufCache *pixbuf_cache, GdkRegion *region, gint page, gint rotation, - gdouble scale); + gdouble scale); +void ev_pixbuf_cache_set_inverted_colors (EvPixbufCache *pixbuf_cache, + gboolean inverted_colors); /* Selection */ cairo_surface_t *ev_pixbuf_cache_get_selection_surface (EvPixbufCache *pixbuf_cache, gint page,