]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-view-private.h
[windows] Use \r\n as delimiter to split lines on Windows
[evince.git] / libview / ev-view-private.h
index abef629074cd6b098f99a2f0461338d08470c2e5..7bd16e9151c0ea6437fee8100d4b81d3926f638c 100644 (file)
@@ -26,6 +26,7 @@
 #define __EV_VIEW_PRIVATE_H__
 
 #include "ev-view.h"
+#include "ev-document-model.h"
 #include "ev-pixbuf-cache.h"
 #include "ev-page-cache.h"
 #include "ev-jobs.h"
@@ -133,9 +134,10 @@ struct _EvView {
        gint find_result;
        gboolean jump_to_find_result;
        gboolean highlight_find_results;
-       
-       EvPageCache *page_cache;
+
+       EvDocumentModel *model;
        EvPixbufCache *pixbuf_cache;
+       EvPageCache *page_cache;
        EvHeightToPageCache *height_to_page_cache;
        EvViewCursor cursor;
        EvJobRender *current_job;
@@ -160,9 +162,6 @@ struct _EvView {
        gint rotation;
        gdouble scale;
        gint spacing;
-       gdouble dpi;
-       gdouble max_scale;
-       gdouble min_scale;
 
        gboolean loading;
        gboolean continuous;
@@ -218,7 +217,6 @@ struct _EvViewClass {
        void    (*binding_activated)      (EvView         *view,
                                           GtkScrollType   scroll,
                                           gboolean        horizontal);
-       void    (*zoom_invalid)           (EvView         *view);
        void    (*handle_link)            (EvView         *view,
                                           EvLink         *link);
        void    (*external_link)          (EvView         *view,