summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/misc.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 9559b0c44f..11cdee17b9 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -977,11 +977,19 @@ int show_logo( void )
977 snprintf(version, sizeof(version), "Ver. %s", appsversion); 977 snprintf(version, sizeof(version), "Ver. %s", appsversion);
978 978
979 lcd_clear_display(); 979 lcd_clear_display();
980#ifdef SANSA_CLIP /* display the logo in the blue area of the screen */
981 lcd_setfont(FONT_SYSFIXED);
982 lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
983 lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
984 0, (unsigned char *)version);
985 lcd_bitmap(rockboxlogo, 0, 16, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
986#else
980 lcd_bitmap(rockboxlogo, 0, 10, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo); 987 lcd_bitmap(rockboxlogo, 0, 10, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
981 lcd_setfont(FONT_SYSFIXED); 988 lcd_setfont(FONT_SYSFIXED);
982 lcd_getstringsize((unsigned char *)"A", &font_w, &font_h); 989 lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
983 lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2), 990 lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
984 LCD_HEIGHT-font_h, (unsigned char *)version); 991 LCD_HEIGHT-font_h, (unsigned char *)version);
992#endif
985 lcd_setfont(FONT_UI); 993 lcd_setfont(FONT_UI);
986 994
987#else 995#else