diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2005-05-30 13:00:43 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2005-05-30 13:00:43 +0000 |
| commit | edc07922eb9e179e7cada5bae60828d72f71c207 (patch) | |
| tree | 81c6c560b1b2bbe39e6c229ffa4d6f248f28c295 /apps/main_menu.c | |
| parent | c3b1eceff1daae7fdb7348bb70b309c37d3f6376 (diff) | |
| download | rockbox-edc07922eb9e179e7cada5bae60828d72f71c207.zip rockbox-edc07922eb9e179e7cada5bae60828d72f71c207.tar.gz rockbox-edc07922eb9e179e7cada5bae60828d72f71c207.tar.bz2 rockbox-edc07922eb9e179e7cada5bae60828d72f71c207.tar.xz | |
(Optional) logf support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6538 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main_menu.c')
| -rw-r--r-- | apps/main_menu.c | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c index e1bf424..4432114 100644 --- a/apps/main_menu.c +++ b/apps/main_menu.c @@ -51,6 +51,7 @@ #endif #include "misc.h" #include "lang.h" +#include "logfdisp.h" #ifdef HAVE_RECORDING #include "recording.h" @@ -80,25 +81,8 @@ int show_logo( void ) #endif #ifdef HAVE_REMOTE_LCD - lcd_remote_bitmap(rockbox112x37,10,14,112,37, false); -#endif - -#if 0 - /* - * This code is not used anymore, but I kept it here since it shows - * one way of using the BMP reader function to display an externally - * providing logo. - */ - unsigned char buffer[112 * 8]; - int width, height; - - int failure; - failure = read_bmp_file("/rockbox112.bmp", &width, &height, buffer); - - debugf("read_bmp_file() returned %d, width %d height %d\n", - failure, width, height); - - lcd_bitmap(&buffer, 0, 10, width, height, false); + lcd_remote_clear_display(); + lcd_remote_bitmap(rockbox112x37,10,14,112,37, false); #endif snprintf(version, sizeof(version), "Ver. %s", appsversion); @@ -365,6 +349,9 @@ bool info_menu(void) { ID2P(LANG_DEBUG), debug_menu }, #else { ID2P(LANG_USB), simulate_usb }, +#ifdef ROCKBOX_HAS_LOGF + {"logf", logfdisplay }, +#endif #endif }; |