From 6a5cc0bd25bd468c79e453fa49f353edd824141a Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Mon, 16 Apr 2007 09:14:36 +0000 Subject: Customizable icons for all bitmap targets. (FS#7013) http://www.rockbox.org/twiki/bin/view/Main/CustomIcons for info on format and how to load them git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13177 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'apps/settings.c') diff --git a/apps/settings.c b/apps/settings.c index 23b81173bd..f3ce2d41c1 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -853,6 +853,9 @@ void settings_apply(void) #if defined(HAVE_RECORDING) && CONFIG_CODEC == SWCODEC enc_global_settings_apply(); #endif + /* load the icon set */ + icons_init(); + } @@ -1076,13 +1079,7 @@ static bool do_set_setting(const unsigned char* string, void *variable, else oldvalue = *(bool*)variable; gui_synclist_init(&lists,value_setting_get_name_cb,(void*)cb_data,false,1); - gui_synclist_set_title(&lists, (char*)string, -#ifdef HAVE_LCD_BITMAP - bitmap_icons_6x8[Icon_Questionmark] -#else - NOICON -#endif - ); + gui_synclist_set_title(&lists, (char*)string,Icon_Questionmark); gui_synclist_set_icon_callback(&lists,NULL); gui_synclist_set_nb_items(&lists,nb_items); gui_synclist_limit_scroll(&lists,true); -- cgit v1.2.3