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) | |
download | rockbox-6a5cc0bd25bd468c79e453fa49f353edd824141a.tar.gz rockbox-6a5cc0bd25bd468c79e453fa49f353edd824141a.zip |
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[] = { | |||
1160 | {F_T_INT, &global_settings.alarm_wake_up_screen, LANG_ALARM_WAKEUP_SCREEN, | 1160 | {F_T_INT, &global_settings.alarm_wake_up_screen, LANG_ALARM_WAKEUP_SCREEN, |
1161 | INT(ALARM_START_WPS), "alarm wakeup screen", ALARM_SETTING_TEXT, UNUSED}, | 1161 | INT(ALARM_START_WPS), "alarm wakeup screen", ALARM_SETTING_TEXT, UNUSED}, |
1162 | #endif /* HAVE_RTC_ALARM */ | 1162 | #endif /* HAVE_RTC_ALARM */ |
1163 | |||
1164 | /* Customizable icons */ | ||
1165 | #ifdef HAVE_LCD_BITMAP | ||
1166 | FILENAME_SETTING(F_THEMESETTING, icon_file, "iconset", "", | ||
1167 | ICON_DIR "/", ".bmp", MAX_FILENAME+1), | ||
1168 | FILENAME_SETTING(F_THEMESETTING, viewers_icon_file, "viewers iconset", "", | ||
1169 | ICON_DIR "/", ".bmp", MAX_FILENAME+1), | ||
1170 | #ifdef HAVE_REMOTE_LCD | ||
1171 | FILENAME_SETTING(F_THEMESETTING, remote_icon_file, "remote iconset", "", | ||
1172 | ICON_DIR "/", ".bmp", MAX_FILENAME+1), | ||
1173 | FILENAME_SETTING(F_THEMESETTING, remote_viewers_icon_file, | ||
1174 | "remote viewers iconset", "", | ||
1175 | ICON_DIR "/", ".bmp", MAX_FILENAME+1), | ||
1176 | #endif | ||
1177 | #endif /* HAVE_REMOTE_LCD */ | ||
1163 | }; | 1178 | }; |
1164 | 1179 | ||
1165 | const int nb_settings = sizeof(settings)/sizeof(*settings); | 1180 | const int nb_settings = sizeof(settings)/sizeof(*settings); |