forked from len0rd/rockbox
IRiver: show logo on startup at remote lcd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6302 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8c0c53e74f
commit
21aa3b135d
4 changed files with 13 additions and 4 deletions
|
|
@ -61,6 +61,10 @@
|
||||||
#include "icons.h"
|
#include "icons.h"
|
||||||
#endif /* End HAVE_LCD_BITMAP */
|
#endif /* End HAVE_LCD_BITMAP */
|
||||||
|
|
||||||
|
#ifdef HAVE_REMOTE_LCD
|
||||||
|
#include "lcd-remote.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
int show_logo( void )
|
int show_logo( void )
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#ifdef HAVE_LCD_BITMAP
|
||||||
|
|
@ -75,6 +79,11 @@ int show_logo( void )
|
||||||
lcd_bitmap(rockbox160x53, 0, 10, 160, 53, false);
|
lcd_bitmap(rockbox160x53, 0, 10, 160, 53, false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_REMOTE_LCD
|
||||||
|
lcd_remote_bitmap(rockbox112x37,10,14,112,37, false);
|
||||||
|
lcd_remote_update();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if 0
|
#if 0
|
||||||
/*
|
/*
|
||||||
* This code is not used anymore, but I kept it here since it shows
|
* This code is not used anymore, but I kept it here since it shows
|
||||||
|
|
|
||||||
|
|
@ -80,8 +80,8 @@ const unsigned char bitmap_icon_disk[12] =
|
||||||
{0x15,0x3f,0x7d,0x7B,0x77,0x67,0x79,0x7b,0x57,0x4f,0x47,0x7f};
|
{0x15,0x3f,0x7d,0x7B,0x77,0x67,0x79,0x7b,0x57,0x4f,0x47,0x7f};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LCD_WIDTH == 112 || LCD_WIDTH == 128
|
#if LCD_WIDTH == 112 || LCD_WIDTH == 128 || (defined(HAVE_REMOTE_LCD) && LCD_REMOTE_WIDTH == 134)
|
||||||
/* Archos Jukebox/ Ondio + Gmini LCD width */
|
/* Archos Jukebox/ Ondio + Gmini LCD width / remote lcd of iriver*/
|
||||||
|
|
||||||
const unsigned char rockbox112x37[]={
|
const unsigned char rockbox112x37[]={
|
||||||
0x00, 0x00, 0x02, 0xff, 0x02, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa,
|
0x00, 0x00, 0x02, 0xff, 0x02, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa, 0xfa,
|
||||||
|
|
|
||||||
|
|
@ -67,7 +67,7 @@ extern const unsigned char bitmap_icons_7x8[Icon_Last][7];
|
||||||
extern const unsigned char bitmap_icon_disk[];
|
extern const unsigned char bitmap_icon_disk[];
|
||||||
#endif
|
#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[];
|
extern const unsigned char rockbox112x37[];
|
||||||
#endif
|
#endif
|
||||||
#if LCD_WIDTH == 160
|
#if LCD_WIDTH == 160
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
#define LCD_HEIGHT 128
|
#define LCD_HEIGHT 128
|
||||||
|
|
||||||
/* remote LCD */
|
/* remote LCD */
|
||||||
#define LCD_REMOTE_WIDTH 132
|
#define LCD_REMOTE_WIDTH 134
|
||||||
#define LCD_REMOTE_HEIGHT 65
|
#define LCD_REMOTE_HEIGHT 65
|
||||||
|
|
||||||
#define CONFIG_KEYPAD IRIVER_H100_PAD
|
#define CONFIG_KEYPAD IRIVER_H100_PAD
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue