diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-16 09:14:36 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2007-04-16 09:14:36 +0000 |
commit | 6a5cc0bd25bd468c79e453fa49f353edd824141a (patch) | |
tree | 8b406e8390550ff8b87eae3214309867574657f0 /apps/settings_list.c | |
parent | 7afe2e86931313653d4dedb6d5167c79c2822aba (diff) |
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
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r-- | apps/settings_list.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c index 3e4e3fb49a..2ebce0ea77 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1160,6 +1160,21 @@ const struct settings_list settings[] = { {F_T_INT, &global_settings.alarm_wake_up_screen, LANG_ALARM_WAKEUP_SCREEN, INT(ALARM_START_WPS), "alarm wakeup screen", ALARM_SETTING_TEXT, UNUSED}, #endif /* HAVE_RTC_ALARM */ + + /* Customizable icons */ +#ifdef HAVE_LCD_BITMAP + FILENAME_SETTING(F_THEMESETTING, icon_file, "iconset", "", + ICON_DIR "/", ".bmp", MAX_FILENAME+1), + FILENAME_SETTING(F_THEMESETTING, viewers_icon_file, "viewers iconset", "", + ICON_DIR "/", ".bmp", MAX_FILENAME+1), +#ifdef HAVE_REMOTE_LCD + FILENAME_SETTING(F_THEMESETTING, remote_icon_file, "remote iconset", "", + ICON_DIR "/", ".bmp", MAX_FILENAME+1), + FILENAME_SETTING(F_THEMESETTING, remote_viewers_icon_file, + "remote viewers iconset", "", + ICON_DIR "/", ".bmp", MAX_FILENAME+1), +#endif +#endif /* HAVE_REMOTE_LCD */ }; const int nb_settings = sizeof(settings)/sizeof(*settings); |