]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-view-private.h
[windows] Define WIFEXITED and WEXITSTATUS on Windows
[evince.git] / libview / ev-view-private.h
index a2710a99985d5e08663e87b2831588ea8aa8e16f..09f6163fbcee2493c4a90d671e4a8a32103f1331 100644 (file)
 #include "ev-view.h"
 #include "ev-document-model.h"
 #include "ev-pixbuf-cache.h"
 #include "ev-view.h"
 #include "ev-document-model.h"
 #include "ev-pixbuf-cache.h"
+#include "ev-page-cache.h"
 #include "ev-jobs.h"
 #include "ev-image.h"
 #include "ev-form-field.h"
 #include "ev-selection.h"
 #include "ev-jobs.h"
 #include "ev-image.h"
 #include "ev-form-field.h"
 #include "ev-selection.h"
-#include "ev-transition-animation.h"
+#include "ev-view-cursor.h"
 
 #define DRAG_HISTORY 10
 
 
 #define DRAG_HISTORY 10
 
@@ -100,23 +101,6 @@ typedef enum {
        SCROLL_TO_FIND_LOCATION,
 } PendingScroll;
 
        SCROLL_TO_FIND_LOCATION,
 } PendingScroll;
 
-typedef enum {
-       EV_VIEW_CURSOR_NORMAL,
-       EV_VIEW_CURSOR_IBEAM,
-       EV_VIEW_CURSOR_LINK,
-       EV_VIEW_CURSOR_WAIT,
-       EV_VIEW_CURSOR_HIDDEN,
-       EV_VIEW_CURSOR_DRAG,
-       EV_VIEW_CURSOR_AUTOSCROLL,
-} EvViewCursor;
-
-typedef enum {
-       EV_PRESENTATION_NORMAL,
-       EV_PRESENTATION_BLACK,
-       EV_PRESENTATION_WHITE,
-       EV_PRESENTATION_END
-} EvPresentationState;
-
 typedef struct _EvHeightToPageCache {
        gint rotation;
        gdouble *height_to_page;
 typedef struct _EvHeightToPageCache {
        gint rotation;
        gdouble *height_to_page;
@@ -135,8 +119,8 @@ struct _EvView {
        gboolean highlight_find_results;
 
        EvDocumentModel *model;
        gboolean highlight_find_results;
 
        EvDocumentModel *model;
-       EvPageCache *page_cache;
        EvPixbufCache *pixbuf_cache;
        EvPixbufCache *pixbuf_cache;
+       EvPageCache *page_cache;
        EvHeightToPageCache *height_to_page_cache;
        EvViewCursor cursor;
        EvJobRender *current_job;
        EvHeightToPageCache *height_to_page_cache;
        EvViewCursor cursor;
        EvJobRender *current_job;
@@ -161,22 +145,14 @@ struct _EvView {
        gint rotation;
        gdouble scale;
        gint spacing;
        gint rotation;
        gdouble scale;
        gint spacing;
-       gdouble dpi;
 
        gboolean loading;
        gboolean continuous;
        gboolean dual_page;
        gboolean fullscreen;
 
        gboolean loading;
        gboolean continuous;
        gboolean dual_page;
        gboolean fullscreen;
-       gboolean presentation;
        EvSizingMode sizing_mode;
        cairo_surface_t *loading_text;
 
        EvSizingMode sizing_mode;
        cairo_surface_t *loading_text;
 
-       /* Presentation */
-       EvPresentationState presentation_state;
-       EvSizingMode sizing_mode_saved;
-       double scale_saved;
-       guint  trans_timeout_id;
-
        /* Common for button press handling */
        int pressed_button;
 
        /* Common for button press handling */
        int pressed_button;
 
@@ -200,12 +176,6 @@ struct _EvView {
        /* Image DND */
        ImageDNDInfo image_dnd_info;
 
        /* Image DND */
        ImageDNDInfo image_dnd_info;
 
-       /* Goto Popup */
-       GtkWidget *goto_window;
-       GtkWidget *goto_entry;
-
-       EvTransitionAnimation *animation;
-
        /* Annotations */
        GList             *window_children;
        EvViewWindowChild *window_child_focus;
        /* Annotations */
        GList             *window_children;
        EvViewWindowChild *window_child_focus;
@@ -223,6 +193,7 @@ struct _EvViewClass {
                                           EvLinkAction   *action);
        void    (*popup_menu)             (EvView         *view,
                                           EvLink         *link);
                                           EvLinkAction   *action);
        void    (*popup_menu)             (EvView         *view,
                                           EvLink         *link);
+       void    (*selection_changed)      (EvView         *view);
 };
 
 void _get_page_size_for_scale_and_rotation (EvDocument *document,
 };
 
 void _get_page_size_for_scale_and_rotation (EvDocument *document,