Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-06-28 09:43:06 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-06-28 09:43:06 (GMT)
commit065ca13c80f87bdf729f906d0c6c47b0b55a4fb1 (patch)
tree2980c90041cd469058f01c3123167014df8534ed /libview/ev-view-private.h
parent2de1a33a123dea2aa16154e5beec5b3a57c939fc (diff)
[libview] Add support for synctex in EvView
- A signal with a source link is emitted on CTRL + click - A new public method has been added to highlight the view rectangle corresponding to a source link
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index 0362bcd..79e6cdb 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -184,6 +184,9 @@ struct _EvView {
/* Annotations */
GList *window_children;
EvViewWindowChild *window_child_focus;
+
+ /* Synctex */
+ EvMapping *synctex_result;
};
struct _EvViewClass {
@@ -199,6 +202,8 @@ struct _EvViewClass {
void (*popup_menu) (EvView *view,
GList *items);
void (*selection_changed) (EvView *view);
+ void (*sync_source) (EvView *view,
+ EvSourceLink *link);
};
void _get_page_size_for_scale_and_rotation (EvDocument *document,