diff options
author | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-25 13:09:56 +0000 |
---|---|---|
committer | Nicolas Pennequin <nicolas.pennequin@free.fr> | 2007-04-25 13:09:56 +0000 |
commit | 2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed (patch) | |
tree | e6ffe49977691b83484dc66e67eac51e50ff85d3 /apps/recorder | |
parent | 70e2846241a8ab9dd6aa570762086c3111ac0463 (diff) | |
download | rockbox-2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed.tar.gz rockbox-2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed.zip |
Make bitmaps use the right format in a RWPS and prevent a backdrop tag in a RWPS from clearing the main display's backdrop. This also allows future backdrop support for LCD remotes by making the parsing code aware of whether the display for a WPS is a remote or not.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13261 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/backdrop.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/apps/recorder/backdrop.c b/apps/recorder/backdrop.c index cb6aaa5a32..e31543549d 100644 --- a/apps/recorder/backdrop.c +++ b/apps/recorder/backdrop.c | |||
@@ -26,13 +26,8 @@ | |||
26 | static fb_data main_backdrop[LCD_HEIGHT][LCD_WIDTH] __attribute__ ((aligned (16))); | 26 | static fb_data main_backdrop[LCD_HEIGHT][LCD_WIDTH] __attribute__ ((aligned (16))); |
27 | static fb_data wps_backdrop[LCD_HEIGHT][LCD_WIDTH] __attribute__ ((aligned (16))); | 27 | static fb_data wps_backdrop[LCD_HEIGHT][LCD_WIDTH] __attribute__ ((aligned (16))); |
28 | #elif LCD_DEPTH == 2 | 28 | #elif LCD_DEPTH == 2 |
29 | #if LCD_PIXELFORMAT == VERTICAL_PACKING | 29 | static fb_data main_backdrop[LCD_FBHEIGHT][LCD_FBWIDTH]; |
30 | static fb_data main_backdrop[(LCD_HEIGHT+3)/4][LCD_WIDTH]; | 30 | static fb_data wps_backdrop[LCD_FBHEIGHT][LCD_FBWIDTH]; |
31 | static fb_data wps_backdrop[(LCD_HEIGHT+3)/4][LCD_WIDTH]; | ||
32 | #else | ||
33 | static fb_data main_backdrop[LCD_HEIGHT][LCD_FBWIDTH]; | ||
34 | static fb_data wps_backdrop[LCD_HEIGHT][LCD_FBWIDTH]; | ||
35 | #endif | ||
36 | #endif | 31 | #endif |
37 | 32 | ||
38 | static bool main_backdrop_valid = false; | 33 | static bool main_backdrop_valid = false; |