forked from len0rd/rockbox
Print correctly the rockbox logo for Clipv2/Clip+, not only Clipv1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24852 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
21ac9d23d0
commit
f1782602d0
1 changed files with 2 additions and 1 deletions
|
|
@ -659,7 +659,8 @@ int show_logo( void )
|
||||||
snprintf(version, sizeof(version), "Ver. %s", appsversion);
|
snprintf(version, sizeof(version), "Ver. %s", appsversion);
|
||||||
|
|
||||||
lcd_clear_display();
|
lcd_clear_display();
|
||||||
#ifdef SANSA_CLIP /* display the logo in the blue area of the screen */
|
#if defined(SANSA_CLIP) || defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS)
|
||||||
|
/* display the logo in the blue area of the screen */
|
||||||
lcd_setfont(FONT_SYSFIXED);
|
lcd_setfont(FONT_SYSFIXED);
|
||||||
lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
|
lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
|
||||||
lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
|
lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue