From 21aa3b135dddce1b186ccede3a981e312c2700f6 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Fri, 15 Apr 2005 14:34:58 +0000 Subject: [PATCH] IRiver: show logo on startup at remote lcd git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6302 a1c6a512-1295-4272-9138-f99709370657 --- apps/main_menu.c | 9 +++++++++ apps/recorder/icons.c | 4 ++-- apps/recorder/icons.h | 2 +- firmware/export/config-h100.h | 2 +- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/apps/main_menu.c b/apps/main_menu.c index 055a83bc24..329ed7822d 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -61,6 +61,10 @@ #include "icons.h" #endif /* End HAVE_LCD_BITMAP */ +#ifdef HAVE_REMOTE_LCD +#include "lcd-remote.h" +#endif + int show_logo( void ) { #ifdef HAVE_LCD_BITMAP @@ -75,6 +79,11 @@ int show_logo( void ) lcd_bitmap(rockbox160x53, 0, 10, 160, 53, false); #endif +#ifdef HAVE_REMOTE_LCD + lcd_remote_bitmap(rockbox112x37,10,14,112,37, false); + lcd_remote_update(); +#endif + #if 0 /* * This code is not used anymore, but I kept it here since it shows diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index 515c08ccc9..14d106142e 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c @@ -80,8 +80,8 @@ const unsigned char bitmap_icon_disk[12] = {0x15,0x3f,0x7d,0x7B,0x77,0x67,0x79,0x7b,0x57,0x4f,0x47,0x7f}; #endif -#if LCD_WIDTH == 112 || LCD_WIDTH == 128 -/* Archos Jukebox/ Ondio + Gmini LCD width */ +#if LCD_WIDTH == 112 || LCD_WIDTH == 128 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_WIDTH == 134) +/* Archos Jukebox/ Ondio + Gmini LCD width / remote lcd of iriver*/ const unsigned char rockbox112x37[]={ 0x00, 0x00, 0x02, 0xff, 0x02, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h index 1ad3f10b94..b0157308ce 100644 --- a/apps/recorder/icons.h +++ b/apps/recorder/icons.h @@ -67,7 +67,7 @@ extern const unsigned char bitmap_icons_7x8[Icon_Last][7]; extern const unsigned char bitmap_icon_disk[]; #endif -#if LCD_WIDTH == 112 || LCD_WIDTH == 128 +#if LCD_WIDTH == 112 || LCD_WIDTH == 128 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_WIDTH == 134) extern const unsigned char rockbox112x37[]; #endif #if LCD_WIDTH == 160 diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h index 602a5da3f2..9ffdf5ed2d 100644 --- a/firmware/export/config-h100.h +++ b/firmware/export/config-h100.h @@ -9,7 +9,7 @@ #define LCD_HEIGHT 128 /* remote LCD */ -#define LCD_REMOTE_WIDTH 132 +#define LCD_REMOTE_WIDTH 134 #define LCD_REMOTE_HEIGHT 65 #define CONFIG_KEYPAD IRIVER_H100_PAD