summaryrefslogtreecommitdiff
path: root/src/gfx.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2004-01-24 01:47:55 +0000
committerIan C <ianc@noddybox.co.uk>2004-01-24 01:47:55 +0000
commit84c5c35281aba8ea9be621f38d436c9e15e42802 (patch)
tree0b0a07886295cc6fed6bdc55faae68526d5820ef /src/gfx.h
parent12cb9f2d13aba5c243e60dc9d2fa3bf038448b53 (diff)
Added keyboard help bitmap
Diffstat (limited to 'src/gfx.h')
-rw-r--r--src/gfx.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gfx.h b/src/gfx.h
index 6d051d8..d89edee 100644
--- a/src/gfx.h
+++ b/src/gfx.h
@@ -158,6 +158,18 @@ void GFXPrintPaper(int x, int y, Uint32 col, Uint32 paper,
const char *format, ...);
+/* Draws a simply compressed bitmap. The data is in the form (where b is a
+ byte from the stream):
+
+ b < 0x80 Colour (0 Black, 1 Blue, 2 Red, 3 Magenta, 4 Green,
+ 5 Cyan, 6 Yellow, 7 White, 8 Grey)
+
+ b >= 0x80 Repeat the last colour b-0x80 times.
+*/
+void GFXBitmap(int x, int y, int w, int h,
+ const unsigned char *data);
+
+
#endif