Rockbox Development > Starting Development and Compiling
Version number at startup
(1/1)
NaFIann:
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
LinusN:
In apps/misc.c, in the show_logo() function, remove this code:
--- 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);
--- End code ---
Job Van Dam:
Hmmmm, In apps/misc.c I just change:
--- Code: ---snprintf(version, sizeof(version), "Ver. %s", appsversion);
--- End code ---
TO
--- Code: ---snprintf(version, sizeof(version), "", appsversion);
--- End code ---
It gives an error about zero-length string but it still compiles fine.
Navigation
[0] Message Index
Go to full version