]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-pixbuf-cache.h
Fixes bug #542924. Makes enums static to fix Solaris build.
[evince.git] / shell / ev-pixbuf-cache.h
index a8ff30abbce7a9add2a26e8a8d18154e736fef02..ed1c1ec9885c54b8f25703327577c1411f825130 100644 (file)
@@ -26,6 +26,7 @@
 
 #include <gtk/gtkwidget.h>
 #include "ev-document.h"
+#include "ev-selection.h"
 #include "ev-job-queue.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,