diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-02-21 20:49:12 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-02-21 20:49:12 +0000 |
commit | 4cc85469cb26f8ea1a8f14f17bddb6a5cbea1e88 (patch) | |
tree | 2a8287146412196c1ded7a187afae58469d5f641 /riscos/bitmap.h | |
parent | b6c6d7777277caf99ade1389c180f4a428b4a1c6 (diff) | |
download | netsurf-4cc85469cb26f8ea1a8f14f17bddb6a5cbea1e88.tar.gz netsurf-4cc85469cb26f8ea1a8f14f17bddb6a5cbea1e88.tar.bz2 |
[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
Diffstat (limited to 'riscos/bitmap.h')
-rw-r--r-- | riscos/bitmap.h | 9 |
1 files changed, 2 insertions, 7 deletions
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 */ |