X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-pixbuf-cache.h;h=5e48f2845c10f848fa75ab7e2374b3c1fcbed491;hb=8b7f85cf2a4971cad70b9a87a25ace5c8ffc2f4b;hp=a8ff30abbce7a9add2a26e8a8d18154e736fef02;hpb=6426ce3672bf190ab39d9c49c841232c127d174f;p=evince.git diff --git a/shell/ev-pixbuf-cache.h b/shell/ev-pixbuf-cache.h index a8ff30ab..5e48f284 100644 --- a/shell/ev-pixbuf-cache.h +++ b/shell/ev-pixbuf-cache.h @@ -24,9 +24,10 @@ #ifndef __EV_PIXBUF_CACHE_H__ #define __EV_PIXBUF_CACHE_H__ -#include +#include + #include "ev-document.h" -#include "ev-job-queue.h" +#include "ev-selection.h" G_BEGIN_DECLS @@ -43,6 +44,7 @@ typedef struct { int page; EvRectangle rect; GdkRegion *covered_region; + EvSelectionStyle style; } EvViewSelection; typedef struct _EvPixbufCache EvPixbufCache; @@ -69,10 +71,11 @@ GList *ev_pixbuf_cache_get_form_field_mapping (EvPixbufCache *pixbuf_cach 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, +void ev_pixbuf_cache_reload_page (EvPixbufCache *pixbuf_cache, + GdkRegion *region, gint page, gint rotation, - gfloat scale); + gdouble scale); /* Selection */ cairo_surface_t *ev_pixbuf_cache_get_selection_surface (EvPixbufCache *pixbuf_cache, gint page,