diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-07-20 15:01:56 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2010-07-20 15:07:40 (GMT) |
commit | 584f014b63c56fe3770cba9682fc21c31e09a2e9 (patch) | |
tree | de1a6a07ff5bd7b8a52e176e72af12a8172b5ed9 /libview/ev-view-private.h | |
parent | dfed06b88fae63bbd0460e43df977c0d33ef1045 (diff) |
Preliminary support for adding new annotations
At the moment only Text annotations can be added. See bug #168304.
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r-- | libview/ev-view-private.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 57eea30..a365507 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -185,6 +185,8 @@ struct _EvView { GList *window_children; EvViewWindowChild *window_child_focus; EvMapping *focus_annotation; + gboolean adding_annot; + EvAnnotationType adding_annot_type; /* Synctex */ EvMapping *synctex_result; @@ -208,6 +210,8 @@ struct _EvViewClass { void (*selection_changed) (EvView *view); void (*sync_source) (EvView *view, EvSourceLink *link); + void (*annot_added) (EvView *view, + EvAnnotation *annot); }; void _get_page_size_for_scale_and_rotation (EvDocument *document, |