]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-view-private.h
Updated Brazilian Portuguese translation.
[evince.git] / libview / ev-view-private.h
index c89444038f7f977bef73a3e7aae3086591f7998d..4bec7bd2eaf798a3cf4657d7036668bd9bf6183f 100644 (file)
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
  */
 
+#if !defined (EVINCE_COMPILATION)
+#error "This is a private header."
+#endif
+
 #ifndef __EV_VIEW_PRIVATE_H__
 #define __EV_VIEW_PRIVATE_H__
 
@@ -68,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,
@@ -174,6 +199,10 @@ struct _EvView {
        GtkWidget *goto_entry;
 
        EvTransitionAnimation *animation;
+
+       /* Annotations */
+       GList             *window_children;
+       EvViewWindowChild *window_child_focus;
 };
 
 struct _EvViewClass {