comparison src/image-load.h @ 1045:0ab0deb0cfcc

added possibility to redraw only the parts of image that are already loaded
author nadvornik
date Mon, 08 Sep 2008 19:57:51 +0000
parents 988995f6b1cf
children 1646720364cf
comparison
equal deleted inserted replaced
1044:ea4e0c2df854 1045:0ab0deb0cfcc
43 43
44 GdkPixbufLoader *loader; 44 GdkPixbufLoader *loader;
45 45
46 gint idle_done_id; 46 gint idle_done_id;
47 GList *area_param_list; 47 GList *area_param_list;
48 GList *area_param_delayed_list;
49
50 gint delay_area_ready;
48 51
49 GMutex *data_mutex; 52 GMutex *data_mutex;
50 gint stopping; 53 gint stopping;
51 gint can_destroy; 54 gint can_destroy;
52 GCond *can_destroy_cond; 55 GCond *can_destroy_cond;
71 74
72 ImageLoader *image_loader_new(FileData *fd); 75 ImageLoader *image_loader_new(FileData *fd);
73 76
74 void image_loader_free(ImageLoader *il); 77 void image_loader_free(ImageLoader *il);
75 78
79 /* delay area_ready signals */
80 void image_loader_delay_area_ready(ImageLoader *il, gint enable);
76 81
77 /* Speed up loading when you only need at most width x height size image, 82 /* Speed up loading when you only need at most width x height size image,
78 * only the jpeg GdkPixbuf loader benefits from it - so there is no 83 * only the jpeg GdkPixbuf loader benefits from it - so there is no
79 * guarantee that the image will scale down to the requested size.. 84 * guarantee that the image will scale down to the requested size..
80 */ 85 */