X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-view-private.h;h=a53fe5469e81f025a66f7d40e5a204a92f2c7adc;hb=63189b8ff60aad2b1eb51ddca644d9b4a740dc54;hp=ef48e0be7f2ccc564e966a22dde34e213b015e84;hpb=47bf008787b6d613d0ecdc6b14c741519641c24e;p=evince.git diff --git a/shell/ev-view-private.h b/shell/ev-view-private.h index ef48e0be..a53fe546 100644 --- a/shell/ev-view-private.h +++ b/shell/ev-view-private.h @@ -43,8 +43,8 @@ typedef struct { typedef enum { SCROLL_TO_KEEP_POSITION, - SCROLL_TO_CURRENT_PAGE, - SCROLL_TO_CENTER + SCROLL_TO_PAGE_POSITION, + SCROLL_TO_CENTER, } PendingScroll; typedef enum { @@ -64,6 +64,7 @@ struct _EvView { char *status; char *find_status; int find_result; + gboolean jump_to_find_result; EvPageCache *page_cache; EvPixbufCache *pixbuf_cache; @@ -78,19 +79,20 @@ struct _EvView { gint scroll_y; PendingScroll pending_scroll; - gboolean pending_resize; + gboolean pending_resize; + EvPoint pending_point; /* Current geometry */ gint start_page; gint end_page; gint current_page; - gint find_page; int rotation; double scale; int spacing; + gboolean loading; gboolean continuous; gboolean dual_page; gboolean fullscreen; @@ -123,11 +125,11 @@ struct _EvViewClass { GtkAdjustment *hadjustment, GtkAdjustment *vadjustment); void (*binding_activated) (EvView *view, - GtkScrollType scroll, + EvScrollType scroll, gboolean horizontal); void (*zoom_invalid) (EvView *view); void (*external_link) (EvView *view, - EvLink *link); + EvLinkAction *action); void (*popup_menu) (EvView *view, EvLink *link); };