summaryrefslogtreecommitdiff
path: root/bootloader/show_logo.c
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-11-13 15:37:16 +0000
committerThomas Martitz <kugel@rockbox.org>2011-11-13 15:37:16 +0000
commit9a70c42241c70e57bbe739f45d254c67bacc83e7 (patch)
tree2387eebfd2f3ad83c5e4e69d6d39fd37f234d928 /bootloader/show_logo.c
parent61f61c97738a3f0e279b7c31f9096a5aaa977291 (diff)
downloadrockbox-9a70c42241c70e57bbe739f45d254c67bacc83e7.tar.gz
rockbox-9a70c42241c70e57bbe739f45d254c67bacc83e7.zip
Add the ability to create a prefilled struct bitmap along with generated images.
This allows to directly draw generated and builtin images using lcd_bmp(bm_xxx); Also fixes builtin list icons on non-mono targets, as they didn't have the format field set. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30971 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/show_logo.c')
-rw-r--r--bootloader/show_logo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/show_logo.c b/bootloader/show_logo.c
index 4b52e94084..60481367d5 100644
--- a/bootloader/show_logo.c
+++ b/bootloader/show_logo.c
@@ -46,9 +46,9 @@ void show_logo( void )
46 /* The top 16 lines of the Sansa Clip screen are yellow, and the bottom 48 46 /* The top 16 lines of the Sansa Clip screen are yellow, and the bottom 48
47 are blue, so we reverse the usual positioning */ 47 are blue, so we reverse the usual positioning */
48 lcd_putsxy(TEXT_XPOS, 0, BOOT_VERSION); 48 lcd_putsxy(TEXT_XPOS, 0, BOOT_VERSION);
49 lcd_bitmap(rockboxlogo, 0, 16, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo); 49 lcd_bmp(&bm_rockboxlogo, 0, 16);
50#else 50#else
51 lcd_bitmap(rockboxlogo, 0, 10, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo); 51 lcd_bmp(&bm_rockboxlogo, 0, 10);
52 lcd_putsxy(TEXT_XPOS, LCD_HEIGHT-SYSFONT_HEIGHT, BOOT_VERSION); 52 lcd_putsxy(TEXT_XPOS, LCD_HEIGHT-SYSFONT_HEIGHT, BOOT_VERSION);
53#endif 53#endif
54 54