summaryrefslogtreecommitdiff
path: root/riscos/bitmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/bitmap.h')
-rw-r--r--riscos/bitmap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/riscos/bitmap.h b/riscos/bitmap.h
index 840660a73..7360b03b9 100644
--- a/riscos/bitmap.h
+++ b/riscos/bitmap.h
@@ -12,12 +12,19 @@
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;
osspriteop_area *sprite_area; /** Uncompressed data, or NULL */
char *compressed; /** Compressed data, or NULL */