Rockbox Technical Forums
Rockbox Development => Starting Development and Compiling => Topic started by: NaFIann on November 24, 2007, 11:31:12 AM
-
Hey
I've made a personal fullscreen splash screen for rockbox (Don't worry, it even still says Rockbox :D).
This works wonderfully except that the lower part promptly gets overwritten by the rockbox version number. So my question is: what do I have to delete / comment out / add to the code to remove this?
NaFiann
-
In apps/misc.c, in the show_logo() function, remove this code:
lcd_setfont(FONT_SYSFIXED);
lcd_getstringsize((unsigned char *)"A", &font_w, &font_h);
lcd_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
LCD_HEIGHT-font_h, (unsigned char *)version);
lcd_setfont(FONT_UI);
-
Hmmmm, In apps/misc.c I just change:
snprintf(version, sizeof(version), "Ver. %s", appsversion);
TO
snprintf(version, sizeof(version), "", appsversion);
It gives an error about zero-length string but it still compiles fine.