From a2dd71cd0a16fe04b1f074e7cd5a95c35a70e9e7 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 09 Jul 2007 16:13:27 +0000 Subject: Redraw only form field region instead of the whole page when reloading a 2007-07-09 Carlos Garcia Campos * shell/ev-pixbuf-cache.[ch]: (ev_pixbuf_cache_class_init), (dispose_cache_job_info), (job_finished_cb), (move_one_job), (add_job), (add_job_if_needed), (ev_pixbuf_cache_get_surface), (ev_pixbuf_cache_get_link_mapping), (ev_pixbuf_cache_get_image_mapping), (ev_pixbuf_cache_get_form_field_mapping), (ev_pixbuf_cache_get_text_mapping), (ev_pixbuf_cache_reload_page): * shell/ev-view.c: (ev_view_form_field_get_region), (ev_view_form_field_button_create_widget), (ev_view_form_field_text_save), (ev_view_form_field_choice_save), (job_finished_cb): Redraw only form field region instead of the whole page when reloading a page to show changes on the form field. svn path=/trunk/; revision=2565 --- (limited to 'shell/ev-pixbuf-cache.h') diff --git a/shell/ev-pixbuf-cache.h b/shell/ev-pixbuf-cache.h index a8ff30a..d2116cd 100644 --- a/shell/ev-pixbuf-cache.h +++ b/shell/ev-pixbuf-cache.h @@ -69,10 +69,11 @@ GList *ev_pixbuf_cache_get_form_field_mapping (EvPixbufCache *pixbuf_cach gint page); void ev_pixbuf_cache_clear (EvPixbufCache *pixbuf_cache); void ev_pixbuf_cache_style_changed (EvPixbufCache *pixbuf_cache); -void ev_pixbuf_cache_reload_page (EvPixbufCache *pixbuf_cache, +void ev_pixbuf_cache_reload_page (EvPixbufCache *pixbuf_cache, + GdkRegion *region, gint page, gint rotation, - gfloat scale); + gdouble scale); /* Selection */ cairo_surface_t *ev_pixbuf_cache_get_selection_surface (EvPixbufCache *pixbuf_cache, gint page, -- cgit v0.9.1