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>2009-05-12 10:00:40 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2009-05-12 10:00:40 (GMT)
commite2822c4d43b39aa535f923b4e0fb4af6537d056f (patch)
tree5f3b0fc9e098335a960d174fcaff5ff0131d80fb /libview/ev-view-private.h
parent229170c1870cdc32fdd7dcf28136f437dc4cbab2 (diff)
[libview] Show popup windows associated to markup annotations
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index 542607d..4bec7bd 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -72,6 +72,27 @@ typedef struct {
EvImage *image;
} ImageDNDInfo;
+/* Annotation popup windows */
+typedef struct {
+ GtkWidget *window;
+ guint page;
+
+ /* Current position */
+ gint x;
+ gint y;
+
+ /* EvView root position */
+ gint parent_x;
+ gint parent_y;
+
+ /* Document coords */
+ gdouble orig_x;
+ gdouble orig_y;
+
+ gboolean visible;
+ gboolean moved;
+} EvViewWindowChild;
+
typedef enum {
SCROLL_TO_KEEP_POSITION,
SCROLL_TO_PAGE_POSITION,
@@ -178,6 +199,10 @@ struct _EvView {
GtkWidget *goto_entry;
EvTransitionAnimation *animation;
+
+ /* Annotations */
+ GList *window_children;
+ EvViewWindowChild *window_child_focus;
};
struct _EvViewClass {