]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-view-private.h
[dualscreen] fix crash on ctrl+w and fix control window closing
[evince.git] / libview / ev-view-private.h
index 79e6cdb769d325c6eb1a5ffca4faeb42460768a4..3355457614c4ae3618234955f9d12203964b7604 100644 (file)
@@ -110,6 +110,9 @@ typedef struct _EvHeightToPageCache {
 struct _EvView {
        GtkLayout layout;
 
+       /* Container */
+       GList *children;
+
        EvDocument *document;
 
        /* Find */
@@ -132,6 +135,10 @@ struct _EvView {
        /* Scrolling */
        GtkAdjustment *hadjustment;
        GtkAdjustment *vadjustment;
+       /* GtkScrollablePolicy needs to be checked when
+        * driving the scrollable adjustment values */
+       guint hscroll_policy : 1;
+       guint vscroll_policy : 1;
 
        gint scroll_x;
        gint scroll_y;  
@@ -184,9 +191,15 @@ struct _EvView {
        /* Annotations */
        GList             *window_children;
        EvViewWindowChild *window_child_focus;
+       EvMapping         *focus_annotation;
+       gboolean           adding_annot;
+       EvAnnotationType   adding_annot_type;
 
        /* Synctex */
        EvMapping *synctex_result;
+
+       /* Accessibility */
+       gboolean a11y_enabled;
 };
 
 struct _EvViewClass {
@@ -204,6 +217,9 @@ struct _EvViewClass {
        void    (*selection_changed)      (EvView         *view);
        void    (*sync_source)            (EvView         *view,
                                           EvSourceLink   *link);
+       void    (*annot_added)            (EvView         *view,
+                                          EvAnnotation   *annot);
+       void    (*layers_changed)         (EvView         *view);
 };
 
 void _get_page_size_for_scale_and_rotation (EvDocument *document,