summaryrefslogtreecommitdiff
path: root/image/gif.h
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-11-09 23:34:01 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-11-09 23:34:01 +0000
commit061603094af5ac6cd008a11cb10d30fdc549dd55 (patch)
tree7c4d5b333db683123080578d2b62e6a1d3a6db17 /image/gif.h
parent9eee2a824662550ccb2fc97c72be9cd0089a8588 (diff)
downloadnetsurf-061603094af5ac6cd008a11cb10d30fdc549dd55.tar.gz
netsurf-061603094af5ac6cd008a11cb10d30fdc549dd55.tar.bz2
[project @ 2004-11-09 23:34:01 by rjw]
Move GIF decoding out of the plot loop where possible. svn path=/import/netsurf/; revision=1355
Diffstat (limited to 'image/gif.h')
-rw-r--r--image/gif.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/image/gif.h b/image/gif.h
index c7fa6f281..db5b4b442 100644
--- a/image/gif.h
+++ b/image/gif.h
@@ -14,7 +14,8 @@ struct content;
struct content_gif_data {
struct gif_animation *gif; /**< GIF animation data */
- unsigned int current_frame; /**< current frame to display [0...(max-1)] */
+ int current_frame; /**< current frame to display [0...(max-1)] */
+ bool frame_drawn; /**< set when current frame has been used */
};
bool nsgif_create(struct content *c, const char *params[]);