X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libview%2Fev-view-private.h;h=3355457614c4ae3618234955f9d12203964b7604;hb=1e63533e4d2fe74b17883a51f984ecacb9138231;hp=0e5f44966201f93f6dbd249205cde05ec760f93c;hpb=5ef0d418d651705e098d2a1a8495e86bf7c0f538;p=evince.git diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index 0e5f4496..33554576 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -15,7 +15,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ #if !defined (EVINCE_COMPILATION) @@ -110,6 +110,9 @@ typedef struct _EvHeightToPageCache { struct _EvView { GtkLayout layout; + /* Container */ + GList *children; + EvDocument *document; /* Find */ @@ -120,14 +123,22 @@ struct _EvView { EvDocumentModel *model; EvPixbufCache *pixbuf_cache; + gsize pixbuf_cache_size; EvPageCache *page_cache; EvHeightToPageCache *height_to_page_cache; EvViewCursor cursor; EvJobRender *current_job; + GtkRequisition requisition; + gboolean internal_size_request; + /* Scrolling */ GtkAdjustment *hadjustment; GtkAdjustment *vadjustment; + /* GtkScrollablePolicy needs to be checked when + * driving the scrollable adjustment values */ + guint hscroll_policy : 1; + guint vscroll_policy : 1; gint scroll_x; gint scroll_y; @@ -151,7 +162,8 @@ struct _EvView { gboolean dual_page; gboolean fullscreen; EvSizingMode sizing_mode; - cairo_surface_t *loading_text; + GtkWidget *loading_window; + guint loading_timeout; /* Common for button press handling */ int pressed_button; @@ -179,6 +191,15 @@ struct _EvView { /* Annotations */ GList *window_children; EvViewWindowChild *window_child_focus; + EvMapping *focus_annotation; + gboolean adding_annot; + EvAnnotationType adding_annot_type; + + /* Synctex */ + EvMapping *synctex_result; + + /* Accessibility */ + gboolean a11y_enabled; }; struct _EvViewClass { @@ -194,6 +215,11 @@ struct _EvViewClass { void (*popup_menu) (EvView *view, GList *items); void (*selection_changed) (EvView *view); + void (*sync_source) (EvView *view, + EvSourceLink *link); + void (*annot_added) (EvView *view, + EvAnnotation *annot); + void (*layers_changed) (EvView *view); }; void _get_page_size_for_scale_and_rotation (EvDocument *document,