From f98c27f60ff9090769a9530a969d57ecd8965396 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 18 Feb 2007 23:51:36 +0000 Subject: [PATCH] Give the file view menu a nice icon git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12397 a1c6a512-1295-4272-9138-f99709370657 --- apps/menus/settings_menu.c | 2 +- apps/recorder/icons.c | 3 +++ apps/recorder/icons.h | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/menus/settings_menu.c b/apps/menus/settings_menu.c index 399002cd14..d7a9cc5478 100644 --- a/apps/menus/settings_menu.c +++ b/apps/menus/settings_menu.c @@ -91,7 +91,7 @@ static int fileview_callback(int action,const struct menu_item_ex *this_item) return action; } -MAKE_MENU(file_menu, ID2P(LANG_FILE), 0, NOICON, +MAKE_MENU(file_menu, ID2P(LANG_FILE), 0, bitmap_icons_6x8[Icon_file_view_menu], &sort_case, &sort_dir, &sort_file, &dirfilter, &browse_current, &show_path_in_browser, #ifdef HAVE_TAGCACHE diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index cf9720d94f..3c66fbd129 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c @@ -74,7 +74,10 @@ const unsigned char bitmap_icons_6x8[][6] = { 0x7f, 0x7f, 0x3e, 0x1c, 0x08, 0x00 }, /* playback menu */ { 0x1f, 0x51, 0x71, 0x71, 0x51, 0x1f }, /* display menu */ { 0x1e, 0x32, 0x32, 0x32, 0x1e, 0x00 }, /* remote display menu */ +#if CONFIG_TUNER { 0x03, 0x05, 0x7f, 0x05, 0x03, 0x00 }, /* radio */ +#endif + { 0x1f, 0x11, 0x7d, 0x46, 0x44, 0x78 }, /* File View Menu */ }; const unsigned char bitmap_icons_7x8[][7] = diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h index bef1fa617b..a2a0e95aa6 100644 --- a/apps/recorder/icons.h +++ b/apps/recorder/icons.h @@ -78,7 +78,10 @@ enum icons_6x8 { Icon_Playback_menu, Icon_Display_menu, Icon_Remote_Display_menu, +#if CONFIG_TUNER Icon_Radio_screen, +#endif + Icon_file_view_menu, Icon6x8Last, };