Mercurial > geeqie.yaz
diff src/typedefs.h @ 846:8911a4f0e56c
simple cache for loaded pixbufs
author | nadvornik |
---|---|
date | Sat, 21 Jun 2008 16:00:13 +0000 |
parents | 06929cbcd796 |
children | db68d673448f |
line wrap: on
line diff
--- a/src/typedefs.h Sat Jun 21 11:05:55 2008 +0000 +++ b/src/typedefs.h Sat Jun 21 16:00:13 2008 +0000 @@ -349,7 +349,8 @@ time_t mtime; /* file modified time stamp */ gint unknown; /* failed to load image */ - ImageLoader *il; + ImageLoader *il; /* FIXME - image loader should probably go to FileData, but it must first support + sending callbacks to multiple ImageWindows in parallel */ gint has_frame; @@ -405,12 +406,9 @@ AlterType delay_alter_type; + FileData *read_ahead_fd; ImageLoader *read_ahead_il; - GdkPixbuf *read_ahead_pixbuf; - FileData *read_ahead_fd; - GdkPixbuf *prev_pixbuf; - FileData *prev_fd; gint prev_color_row; gint auto_refresh_id; @@ -447,6 +445,9 @@ FileData *parent; /* parent file if this is a sidecar file, NULL otherwise */ FileDataChangeInfo *change; /* for rename, move ... */ GdkPixbuf *thumb_pixbuf; + + GdkPixbuf *pixbuf; /* full-size image */ + gint ref; gint version; /* increased when any field in this structure is changed */ gint user_orientation;