struct _EvView {
GtkLayout layout;
+ /* Container */
+ GList *children;
+
EvDocument *document;
/* Find */
/* 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;
GList *window_children;
EvViewWindowChild *window_child_focus;
EvMapping *focus_annotation;
+ gboolean adding_annot;
+ EvAnnotationType adding_annot_type;
/* Synctex */
EvMapping *synctex_result;
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,