]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-pixbuf-cache.h
[totem-screensaver] Adapt to GDBus API change
[evince.git] / libview / ev-pixbuf-cache.h
index af7154687dee48778cdd8a179e6a94bf16452621..a2c190ad8aee917e353fab9488a6b16eba1c0e30 100644 (file)
@@ -31,6 +31,7 @@
 #include <gtk/gtk.h>
 
 #include <evince-document.h>
+#include <evince-view.h>
 
 G_BEGIN_DECLS
 
@@ -55,12 +56,13 @@ typedef struct _EvPixbufCacheClass  EvPixbufCacheClass;
 
 GType          ev_pixbuf_cache_get_type             (void) G_GNUC_CONST;
 EvPixbufCache *ev_pixbuf_cache_new                  (GtkWidget     *view,
-                                                    EvDocument    *document);
+                                                    EvDocumentModel *model,
+                                                    gsize            max_size);
+void           ev_pixbuf_cache_set_max_size         (EvPixbufCache   *pixbuf_cache,
+                                                    gsize            max_size);
 void           ev_pixbuf_cache_set_page_range       (EvPixbufCache *pixbuf_cache,
                                                     gint           start_page,
                                                     gint           end_page,
-                                                    gint           rotation,
-                                                    gfloat         scale,
                                                     GList          *selection_list);
 cairo_surface_t *ev_pixbuf_cache_get_surface        (EvPixbufCache *pixbuf_cache,
                                                     gint           page);