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=3355457614c4ae3618234955f9d12203964b7604;hb=f3731bd3bdbcdc18c53e0f74bdaac93311046352;hp=06309082f476fe87a76fd9f226db5246f5f2afb8;hpb=726e082719d0148eae6744b962ee1fc05b5af5a4;p=evince.git diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 06309082..33554576 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -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; @@ -185,9 +192,14 @@ struct _EvView { 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 { @@ -205,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,