]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-pixbuf-cache.h
More #include cleanups. Again: reordering, single gtk.h includes and other
[evince.git] / shell / ev-pixbuf-cache.h
index 79e0810a0f2956486f8ef6215f05acd6e5934393..5e48f2845c10f848fa75ab7e2374b3c1fcbed491 100644 (file)
 #ifndef __EV_PIXBUF_CACHE_H__
 #define __EV_PIXBUF_CACHE_H__
 
-#include <gtk/gtkwidget.h>
+#include <gtk/gtk.h>
+
 #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;
@@ -65,9 +67,15 @@ GList         *ev_pixbuf_cache_get_image_mapping    (EvPixbufCache *pixbuf_cache
                                                     gint           page);
 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);
 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);
 /* Selection */
 cairo_surface_t *ev_pixbuf_cache_get_selection_surface (EvPixbufCache *pixbuf_cache,
                                                        gint           page,