Rockbox Development > Starting Development and Compiling
How to change startup image
Enmar:
This is probably a stupid question but how do I change the startup image like with the Jon or Senab builds???
soap:
apps/bitmaps/native is where the boot logos reside.
File name must remain as it is, but you can use a fullscreen resolution bitmap if you so desire, though you need to patch the source if you don't want messages on top of your pretty screen.
--- Code: ------ rockbox-daily-20060524/apps/misc.c 2006-05-04 05:00:30.000000000 +0100
+++ rockbox/apps/misc.c 2006-05-24 09:02:42.000000000 +0100
@@ -609,7 +609,7 @@
int font_h, font_w;
lcd_clear_display();
- lcd_bitmap(rockboxlogo, 0, 10, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
+ lcd_bitmap(rockboxlogo, 0, 0, BMPWIDTH_rockboxlogo, BMPHEIGHT_rockboxlogo);
#ifdef HAVE_REMOTE_LCD
lcd_remote_clear_display();
@@ -620,8 +620,8 @@
snprintf(version, sizeof(version), "Ver. %s", appsversion);
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_putsxy((LCD_WIDTH/2) - ((strlen(version)*font_w)/2),
+ // LCD_HEIGHT-font_h, (unsigned char *)version);
lcd_update();
#ifdef HAVE_REMOTE_LCD
--- End code ---
Out of date, but should still patch cleanly.
EDIT: Senab gave me this patch.
Enmar:
thank you.
I figured out the first part after I posted this but I probably never would have figured out the second part.
digerati1338:
after you've changed the image, if you don't mind text over the top of it, do you just do a normal build?
stripwax:
that's right
Navigation
[0] Message Index
[#] Next page
Go to full version