diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-11-08 21:36:49 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-11-08 21:36:49 +0000 |
commit | f443e7bbf7771ce3a79b1c2116b9cf216f15938f (patch) | |
tree | eeaf47216f88c811529ade5a7c27bd76203bb02b /apps/recorder/bmp.h | |
parent | 13209604c1512658e729d0bd9f1c54cf3e53568d (diff) | |
download | rockbox-f443e7bbf7771ce3a79b1c2116b9cf216f15938f.tar.gz rockbox-f443e7bbf7771ce3a79b1c2116b9cf216f15938f.zip |
Support for transparency in 32bit bitmaps on color targets.
This uses the alpha blending capabilities introduced with anti-aliased fonts
to draw bitmaps with transparency information. The bmp loader is extended to read
this information (pass FORMAT_TRANSPARENT in format). The alpha information will
be used when drawing the bitmap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30937 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/bmp.h')
-rw-r--r-- | apps/recorder/bmp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/recorder/bmp.h b/apps/recorder/bmp.h index 31bd0730bd..3ddc3b66df 100644 --- a/apps/recorder/bmp.h +++ b/apps/recorder/bmp.h | |||
@@ -39,6 +39,7 @@ struct uint8_rgb { | |||
39 | uint8_t blue; | 39 | uint8_t blue; |
40 | uint8_t green; | 40 | uint8_t green; |
41 | uint8_t red; | 41 | uint8_t red; |
42 | uint8_t alpha; | ||
42 | }; | 43 | }; |
43 | 44 | ||
44 | struct dim { | 45 | struct dim { |