Mercurial > geeqie
diff src/image.h @ 117:0c2e1f0a001b
Wed Nov 29 14:28:30 2006 John Ellis <johne@verizon.net>
* image-overlay.[ch]: Rewrite most of the information overlay code to
be more flexible and easily extended.
* image.[ch], typedefs.h: Remove image_new_func, and replace it with
image_state_func callback which is much more informative.
* img-view.c, layout.c, layout_image.c: Updates for new image overlay
function names.
author | gqview |
---|---|
date | Wed, 29 Nov 2006 19:38:25 +0000 |
parents | 55166d93498d |
children | 271afad04d07 |
line wrap: on
line diff
--- a/src/image.h Tue Nov 28 18:20:56 2006 +0000 +++ b/src/image.h Wed Nov 29 19:38:25 2006 +0000 @@ -32,11 +32,11 @@ void (*func)(ImageWindow *imd, gint x, gint y, gint width, gint height, gpointer data), gpointer data); void image_set_complete_func(ImageWindow *imd, - void (*func)(ImageWindow *, gint preload, gpointer), + void (*func)(ImageWindow *imd, gint preload, gpointer data), gpointer data); -void image_set_new_func(ImageWindow *imd, - void (*func)(ImageWindow *, gpointer), - gpointer data); +void image_set_state_func(ImageWindow *imd, + void (*func)(ImageWindow *imd, ImageState state, gpointer data), + gpointer data); /* path, name */ const gchar *image_get_path(ImageWindow *imd);