X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2Fev-view-private.h;h=0387642827cb325f95fdc3a9252741d519b79683;hb=e769474337c9a6ffdaed2327056e8de2f7ca9ee4;hp=0362bcd1901623cae4b0a9f1c3358bb6343bd604;hpb=d375c36972ff3a01b7979984b5a1043eb4c807b0;p=evince.git diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 0362bcd1..03876428 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -132,6 +132,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,6 +188,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 { @@ -199,6 +212,11 @@ struct _EvViewClass { void (*popup_menu) (EvView *view, GList *items); 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,