Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Version number at startup
« previous next »
  • Print
Pages: [1]

Author Topic: Version number at startup  (Read 1451 times)

Offline NaFIann

  • Member
  • *
  • Posts: 33
Version number at startup
« 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
Logged

Offline LinusN

  • Member
  • *
  • Posts: 1914
Re: Version number at startup
« Reply #1 on: November 25, 2007, 05:04:38 AM »
In apps/misc.c, in the show_logo() function, remove this code:

Code: [Select]
    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);
Logged
Archos Jukebox 6000, Recorder, FM Recorder/iAudio X5/iriver H1x0, H3x0/Toshiba Gigabeat F20/iPod G5, G5.5

Offline Job Van Dam

  • Member
  • *
  • Posts: 167
Re: Version number at startup
« Reply #2 on: November 26, 2007, 03:38:05 PM »
Hmmmm, In apps/misc.c I just change:

Code: [Select]
snprintf(version, sizeof(version), "Ver. %s", appsversion);
TO
Code: [Select]
snprintf(version, sizeof(version), "", appsversion);

It gives an error about zero-length string but it still compiles fine.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Version number at startup
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.071 seconds with 16 queries.