diff options
author | Ian C <ianc@noddybox.co.uk> | 2004-01-24 01:47:55 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2004-01-24 01:47:55 +0000 |
commit | 84c5c35281aba8ea9be621f38d436c9e15e42802 (patch) | |
tree | 0b0a07886295cc6fed6bdc55faae68526d5820ef /src/gfx.h | |
parent | 12cb9f2d13aba5c243e60dc9d2fa3bf038448b53 (diff) |
Added keyboard help bitmap
Diffstat (limited to 'src/gfx.h')
-rw-r--r-- | src/gfx.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |