Mercurial > geeqie
diff src/image.h @ 138:71e1ebee420e
replaced gchar* path with FileData *fd
author | nadvornik |
---|---|
date | Tue, 11 Sep 2007 20:06:29 +0000 |
parents | b1acdfc7271b |
children | 126724275319 |
line wrap: on
line diff
--- a/src/image.h Thu Aug 23 20:45:59 2007 +0000 +++ b/src/image.h Tue Sep 11 20:06:29 2007 +0000 @@ -46,12 +46,13 @@ /* path, name */ const gchar *image_get_path(ImageWindow *imd); const gchar *image_get_name(ImageWindow *imd); +FileData *image_get_fd(ImageWindow *imd); /* merely changes path string, does not change the image! */ -void image_set_path(ImageWindow *imd, const gchar *newpath); +void image_set_fd(ImageWindow *imd, FileData *fd); /* load a new image */ -void image_change_path(ImageWindow *imd, const gchar *path, gdouble zoom); +void image_change_fd(ImageWindow *imd, FileData *fd, gdouble zoom); void image_change_pixbuf(ImageWindow *imd, GdkPixbuf *pixbuf, gdouble zoom); void image_change_from_collection(ImageWindow *imd, CollectionData *cd, CollectInfo *info, gdouble zoom); CollectionData *image_get_collection(ImageWindow *imd, CollectInfo **info); @@ -81,7 +82,7 @@ gdouble image_zoom_get_default(ImageWindow *imd, gint mode); /* read ahead, pass NULL to cancel */ -void image_prebuffer_set(ImageWindow *imd, const gchar *path); +void image_prebuffer_set(ImageWindow *imd, FileData *fd); /* auto refresh, interval is 1/1000 sec, 0 uses default, -1 disables */ void image_auto_refresh(ImageWindow *imd, gint interval);