X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libview%2Fev-view-private.h;h=5b5fd19d775cceeda323535a4a6c9a1b35db6285;hb=223cc03e0275c77c4482ed0495b3bd15993a3ab8;hp=f16264cb4ced40fc98b4f3161fb67423f9edbf0c;hpb=19a00ed1cd086dcca4b6bfeb84e0b1488b2e3089;p=evince.git diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index f16264cb..5b5fd19d 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -120,11 +120,15 @@ struct _EvView { EvDocumentModel *model; EvPixbufCache *pixbuf_cache; + gsize pixbuf_cache_size; EvPageCache *page_cache; EvHeightToPageCache *height_to_page_cache; EvViewCursor cursor; EvJobRender *current_job; + GtkRequisition requisition; + gboolean internal_size_request; + /* Scrolling */ GtkAdjustment *hadjustment; GtkAdjustment *vadjustment; @@ -151,7 +155,8 @@ struct _EvView { gboolean dual_page; gboolean fullscreen; EvSizingMode sizing_mode; - cairo_surface_t *loading_text; + GtkWidget *loading_window; + guint loading_timeout; /* Common for button press handling */ int pressed_button; @@ -179,6 +184,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 { @@ -194,6 +208,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,