From 9a70c42241c70e57bbe739f45d254c67bacc83e7 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Sun, 13 Nov 2011 15:37:16 +0000 Subject: 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 --- bootloader/show_logo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootloader') diff --git a/bootloader/show_logo.c b/bootloader/show_logo.c index 4b52e94..6048136 100644 --- a/bootloader/show_logo.c +++ b/bootloader/show_logo.c @@ -46,9 +46,9 @@ void show_logo( void ) /* The top 16 lines of the Sansa Clip screen are yellow, and the bottom 48 are blue, so we reverse the usual positioning */ lcd_putsxy(TEXT_XPOS, 0, BOOT_VERSION); - lcd_bitmap(rockboxlogo, 0, 16, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo); + lcd_bmp(&bm_rockboxlogo, 0, 16); #else - lcd_bitmap(rockboxlogo, 0, 10, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo); + lcd_bmp(&bm_rockboxlogo, 0, 10); lcd_putsxy(TEXT_XPOS, LCD_HEIGHT-SYSFONT_HEIGHT, BOOT_VERSION); #endif -- cgit v1.1