From 84c5c35281aba8ea9be621f38d436c9e15e42802 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 24 Jan 2004 01:47:55 +0000 Subject: Added keyboard help bitmap --- src/gfx.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/gfx.h') 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 -- cgit v1.2.3