summaryrefslogtreecommitdiff
path: root/apps/recorder/bmp.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-11-08 21:36:49 +0000
committerThomas Martitz <kugel@rockbox.org>2011-11-08 21:36:49 +0000
commitf443e7bbf7771ce3a79b1c2116b9cf216f15938f (patch)
treeeeaf47216f88c811529ade5a7c27bd76203bb02b /apps/recorder/bmp.h
parent13209604c1512658e729d0bd9f1c54cf3e53568d (diff)
downloadrockbox-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.h1
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
44struct dim { 45struct dim {