summaryrefslogtreecommitdiff
path: root/riscos/gif.h
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-04-06 23:13:25 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-04-06 23:13:25 +0000
commit8b7d128a570ff615607faa86549707ff3d91e198 (patch)
tree16ab2fa3b534e98158f15e5cfbec090fa021875d /riscos/gif.h
parent48c685bfaab2050bdcc6e1f2504c34a2cef5f0e1 (diff)
downloadnetsurf-8b7d128a570ff615607faa86549707ff3d91e198.tar.gz
netsurf-8b7d128a570ff615607faa86549707ff3d91e198.tar.bz2
[project @ 2004-04-06 23:13:25 by rjw]
New GIF reading code. svn path=/import/netsurf/; revision=732
Diffstat (limited to 'riscos/gif.h')
-rw-r--r--riscos/gif.h38
1 files changed, 4 insertions, 34 deletions
diff --git a/riscos/gif.h b/riscos/gif.h
index c175cc868..526716dec 100644
--- a/riscos/gif.h
+++ b/riscos/gif.h
@@ -3,56 +3,26 @@
* Licensed under the GNU General Public License,
* http://www.opensource.org/licenses/gpl-license
* Copyright 2003 Philip Pemberton <philpem@users.sourceforge.net>
- * Copyright 2004 Richard Wilson <not_ginger_matt@hotmail.com>
+ * Copyright 2004 Richard Wilson <not_ginger_matt@sourceforge.net>
*/
#ifndef _NETSURF_RISCOS_GIF_H_
#define _NETSURF_RISCOS_GIF_H_
#include "oslib/osspriteop.h"
+#include "netsurf/riscos/gifread.h"
struct content;
struct content_gif_data {
- unsigned long buffer_pos;
- /* The sprite area containing the 8bpp frames.
+ /* The GIF data
*/
- osspriteop_area *sprite_area;
-
- /* The sprite header of the current 32bpp image.
- */
- osspriteop_header *buffer_header;
+ struct gif_animation *gif;
/** The current frame number of the GIF to display, [0...(max-1)]
*/
unsigned int current_frame;
-
- /** The current frame that we hold a 32bpp version of [0...(max-1)]
- */
- unsigned int expanded_frame;
-
- /** Whether the GIF should be animated
- */
- bool animate_gif;
-
- /** Whether the GIF should loop
- */
- bool loop_gif;
-
- /** The number of cs unprocessed as the next transition has
- not yet occurred.
- */
- unsigned int remainder_time;
-
- /** The total number of frames
- */
- unsigned int total_frames;
-
- /** An array of times (in cs) for the frame transitions between each frame
- */
- unsigned int *frame_transitions;
-
};
void nsgif_init(void);