diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2006-01-28 12:12:42 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2006-01-28 12:12:42 +0000 |
commit | 745adad22a3803e7d7f3c14ba7ae2f8d3accb75a (patch) | |
tree | 644ae59e3b53daf9b534893763d2d0d7610f91fa /apps/recorder/bmp.h | |
parent | 9bd06032a37c60b17ae1643677ddc9a56a46d67f (diff) | |
download | rockbox-745adad22a3803e7d7f3c14ba7ae2f8d3accb75a.tar.gz rockbox-745adad22a3803e7d7f3c14ba7ae2f8d3accb75a.zip |
Color BMP support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8472 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/bmp.h')
-rw-r--r-- | apps/recorder/bmp.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/apps/recorder/bmp.h b/apps/recorder/bmp.h index 5414ad893a..3bd8da74b7 100644 --- a/apps/recorder/bmp.h +++ b/apps/recorder/bmp.h | |||
@@ -16,6 +16,12 @@ | |||
16 | * KIND, either express or implied. | 16 | * KIND, either express or implied. |
17 | * | 17 | * |
18 | ****************************************************************************/ | 18 | ****************************************************************************/ |
19 | #ifndef _BMP_H_ | ||
20 | #define _BMP_H_ | ||
21 | |||
22 | #include "config.h" | ||
23 | #include "lcd.h" | ||
24 | |||
19 | /********************************************************************* | 25 | /********************************************************************* |
20 | * read_bmp_file() | 26 | * read_bmp_file() |
21 | * | 27 | * |
@@ -24,7 +30,7 @@ | |||
24 | * | 30 | * |
25 | **********************************************/ | 31 | **********************************************/ |
26 | int read_bmp_file(char* filename, | 32 | int read_bmp_file(char* filename, |
27 | int *get_width, /* in pixels */ | 33 | struct bitmap *bm, |
28 | int *get_height, /* in pixels */ | 34 | int maxsize, |
29 | char *bitmap, | 35 | int format); |
30 | int maxsize);/* Maximum amount of bytes to write to bitmap */ | 36 | #endif |