summaryrefslogtreecommitdiffstats
path: root/apps/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/misc.c')
-rw-r--r--apps/misc.c54
1 files changed, 0 insertions, 54 deletions
diff --git a/apps/misc.c b/apps/misc.c
index 71ab913139..f878bad833 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -54,7 +54,6 @@
#include "power.h"
#include "powermgmt.h"
#include "backlight.h"
-#include "version.h"
#include "font.h"
#include "splash.h"
#include "tagcache.h"
@@ -756,59 +755,6 @@ long default_event_handler(long event)
return default_event_handler_ex(event, NULL, NULL);
}
-int show_logo( void )
-{
- unsigned char version[32];
- int font_h, ver_w;
-
- snprintf(version, sizeof(version), "Ver. %s", rbversion);
-
- ver_w = font_getstringsize(version, NULL, &font_h, FONT_SYSFIXED);
-
- lcd_clear_display();
-
- lcd_setfont(FONT_SYSFIXED);
-
-#if defined(SANSA_CLIP) || defined(SANSA_CLIPV2) || defined(SANSA_CLIPPLUS)
- /* display the logo in the blue area of the screen (bottom 48 pixels) */
- if (ver_w > LCD_WIDTH)
- lcd_putsxy(0, 0, rbversion);
- else
- lcd_putsxy((LCD_WIDTH/2) - (ver_w/2), 0, version);
-
- lcd_bmp(&bm_rockboxlogo, (LCD_WIDTH - BMPWIDTH_rockboxlogo) / 2, 16);
-#else
- lcd_bmp(&bm_rockboxlogo, (LCD_WIDTH - BMPWIDTH_rockboxlogo) / 2, 10);
-
- if (ver_w > LCD_WIDTH)
- lcd_putsxy(0, LCD_HEIGHT-font_h, rbversion);
- else
- lcd_putsxy((LCD_WIDTH/2) - (ver_w/2), LCD_HEIGHT-font_h, version);
-#endif
- lcd_setfont(FONT_UI);
-
- lcd_update();
-
-#ifdef HAVE_REMOTE_LCD
- lcd_remote_clear_display();
- lcd_remote_bmp(&bm_remote_rockboxlogo, 0, 10);
- lcd_remote_setfont(FONT_SYSFIXED);
-
- if (ver_w > LCD_REMOTE_WIDTH)
- lcd_remote_putsxy(0, LCD_REMOTE_HEIGHT-font_h, rbversion);
- else
- lcd_remote_putsxy((LCD_REMOTE_WIDTH/2) - (ver_w/2),
- LCD_REMOTE_HEIGHT-font_h, version);
-
- lcd_remote_setfont(FONT_UI);
- lcd_remote_update();
-#endif
-#ifdef SIMULATOR
- sleep(HZ); /* sim is too fast to see logo */
-#endif
- return 0;
-}
-
#ifdef BOOTFILE
#if !defined(USB_NONE) && !defined(USB_HANDLED_BY_OF) || defined(HAVE_HOTSWAP_STORAGE_AS_MAIN)
/*