From 4cc85469cb26f8ea1a8f14f17bddb6a5cbea1e88 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 21 Feb 2006 20:49:12 +0000 Subject: [project @ 2006-02-21 20:49:11 by rjw] Allow any content to be used as a background. Simplify bitmap code. svn path=/import/netsurf/; revision=2087 --- riscos/bitmap.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'riscos/bitmap.h') diff --git a/riscos/bitmap.h b/riscos/bitmap.h index 7360b03b9..910c201bb 100644 --- a/riscos/bitmap.h +++ b/riscos/bitmap.h @@ -9,22 +9,17 @@ #define _NETSURF_RISCOS_BITMAP_H_ #include "oslib/osspriteop.h" +#include "netsurf/image/bitmap.h" struct osspriteop_area; -typedef enum { - BITMAP_INITIALISE_DONE, /** Initialisation has been done */ - BITMAP_INITIALISE_QUICK, /** Just allocate memory */ - BITMAP_INITIALISE_FULL /** Clear the sprite buffer */ -} bitmap_initialisation; - struct bitmap { int width; int height; bool opaque; bool modified; bool persistent; - bitmap_initialisation init; + bitmap_state state; osspriteop_area *sprite_area; /** Uncompressed data, or NULL */ char *compressed; /** Compressed data, or NULL */ -- cgit v1.2.3