diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2004-11-09 23:34:01 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2004-11-09 23:34:01 +0000 |
commit | 061603094af5ac6cd008a11cb10d30fdc549dd55 (patch) | |
tree | 7c4d5b333db683123080578d2b62e6a1d3a6db17 /image/gif.h | |
parent | 9eee2a824662550ccb2fc97c72be9cd0089a8588 (diff) | |
download | netsurf-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.h | 3 |
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[]); |