summaryrefslogtreecommitdiffstats
path: root/apps/plugins/theme_remove.c
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2009-11-07 14:13:38 +0000
committerTeruaki Kawashima <teru@rockbox.org>2009-11-07 14:13:38 +0000
commitfedc7b21f1d823256d955b55ef4f301f915312e0 (patch)
treeab38a133eabe330922458e16b01e4ec8cd9dcb3d /apps/plugins/theme_remove.c
parentea669d7c4a07bbc1709a69b3b28d9e96b415c88f (diff)
downloadrockbox-fedc7b21f1d823256d955b55ef4f301f915312e0.tar.gz
rockbox-fedc7b21f1d823256d955b55ef4f301f915312e0.tar.bz2
rockbox-fedc7b21f1d823256d955b55ef4f301f915312e0.zip
theme remove: add sbs to remove list.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23549 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/theme_remove.c')
-rw-r--r--apps/plugins/theme_remove.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/apps/plugins/theme_remove.c b/apps/plugins/theme_remove.c
index a2e7bf21a5..3bb41929f3 100644
--- a/apps/plugins/theme_remove.c
+++ b/apps/plugins/theme_remove.c
@@ -57,8 +57,12 @@ enum remove_settings {
REMOVE_FONT,
#endif
REMOVE_WPS,
+#ifdef HAVE_LCD_BITMAP
+ REMOVE_SBS,
+#endif
#ifdef HAVE_REMOTE_LCD
REMOVE_RWPS,
+ REMOVE_RSBS,
#endif
#if LCD_DEPTH > 1
REMOVE_BACKDROP,
@@ -85,9 +89,15 @@ static struct remove_setting remove_list[NUM_REMOVE_ITEMS] = {
#endif
[REMOVE_WPS] = { "wps", WPS_DIR "/", ".wps", "",
REMOVE_IF_NOT_USED, remove_wps, false },
+#ifdef HAVE_LCD_BITMAP
+ [REMOVE_SBS] = { "sbs", SBS_DIR "/", ".sbs", "",
+ REMOVE_IF_NOT_USED, remove_wps, false },
+#endif
#ifdef HAVE_REMOTE_LCD
[REMOVE_RWPS] = { "rwps", WPS_DIR "/", ".rwps", "",
REMOVE_IF_NOT_USED, remove_wps, false },
+ [REMOVE_RSBS] = { "rsbs", SBS_DIR "/", ".rsbs", "",
+ REMOVE_IF_NOT_USED, remove_wps, false },
#endif
#if LCD_DEPTH > 1
[REMOVE_BACKDROP] = { "backdrop", BACKDROP_DIR "/", ".bmp", "",
@@ -122,10 +132,18 @@ static struct configdata config[] = {
{ TYPE_INT, 0, NUM_REMOVE_OPTION,
{ .int_p = &remove_list[REMOVE_WPS].option },
"remove wps", option_names },
+#ifdef HAVE_LCD_BITMAP
+ { TYPE_INT, 0, NUM_REMOVE_OPTION,
+ { .int_p = &remove_list[REMOVE_SBS].option },
+ "remove sbs", option_names },
+#endif
#ifdef HAVE_REMOTE_LCD
{ TYPE_INT, 0, NUM_REMOVE_OPTION,
{ .int_p = &remove_list[REMOVE_RWPS].option },
"remove rwps", option_names },
+ { TYPE_INT, 0, NUM_REMOVE_OPTION,
+ { .int_p = &remove_list[REMOVE_RSBS].option },
+ "remove rsbs", option_names },
#endif
#if LCD_DEPTH > 1
{ TYPE_INT, 0, NUM_REMOVE_OPTION,
@@ -319,8 +337,12 @@ static void check_whether_used_in_setting(void)
rb->global_settings->font_file,
#endif
rb->global_settings->wps_file,
+#ifdef HAVE_LCD_BITMAP
+ rb->global_settings->sbs_file,
+#endif
#ifdef HAVE_REMOTE_LCD
rb->global_settings->rwps_file,
+ rb->global_settings->rsbs_file,
#endif
#if LCD_DEPTH > 1
rb->global_settings->backdrop_file,
@@ -572,8 +594,12 @@ static bool option_menu(void)
"Font",
#endif
"WPS",
+#ifdef HAVE_LCD_BITMAP
+ "Statusbar Skin",
+#endif
#ifdef HAVE_REMOTE_LCD
"Remote WPS",
+ "Remote Statusbar Skin",
#endif
#if LCD_DEPTH > 1
"Backdrop",