summaryrefslogtreecommitdiff
path: root/apps/settings_menu.c
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2003-06-05 09:38:26 +0000
committerBjörn Stenberg <bjorn@haxx.se>2003-06-05 09:38:26 +0000
commitd1a6fa113d30fc133e9401b3cce2bfcd0e76e7d3 (patch)
treebf67047daad332da54f9939efd4ae3ede7185994 /apps/settings_menu.c
parentffefc5d5e1f8d1e0cc5fa895200b57ac0595300a (diff)
downloadrockbox-d1a6fa113d30fc133e9401b3cce2bfcd0e76e7d3.tar.gz
rockbox-d1a6fa113d30fc133e9401b3cce2bfcd0e76e7d3.zip
Addded option to hide icons in dir browser. (Patch #728377)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3731 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_menu.c')
-rw-r--r--apps/settings_menu.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c
index 1f318036f1..cc3a1b9307 100644
--- a/apps/settings_menu.c
+++ b/apps/settings_menu.c
@@ -57,8 +57,19 @@ static bool caption_backlight(void)
57 return rc; 57 return rc;
58} 58}
59 59
60/**
61 * Menu to set icon visibility
62 */
63static bool show_icons(void)
64{
65 return set_bool( str(LANG_SHOW_ICONS), &global_settings.show_icons );
66}
67
60#ifdef HAVE_LCD_BITMAP 68#ifdef HAVE_LCD_BITMAP
61 69
70 /**
71 * Menu to set LCD Mode (normal/inverse)
72 */
62static bool invert(void) 73static bool invert(void)
63{ 74{
64 bool rc = set_bool_options(str(LANG_INVERT), 75 bool rc = set_bool_options(str(LANG_INVERT),
@@ -70,6 +81,9 @@ static bool invert(void)
70 return rc; 81 return rc;
71} 82}
72 83
84/**
85 * Menu to set Line Selector Type (Pointer/Bar)
86 */
73static bool invert_cursor(void) 87static bool invert_cursor(void)
74{ 88{
75 return set_bool_options(str(LANG_INVERT_CURSOR), 89 return set_bool_options(str(LANG_INVERT_CURSOR),
@@ -829,6 +843,7 @@ static bool display_settings_menu(void)
829 { str(LANG_VOLUME_DISPLAY), volume_type }, 843 { str(LANG_VOLUME_DISPLAY), volume_type },
830 { str(LANG_BATTERY_DISPLAY), battery_type }, 844 { str(LANG_BATTERY_DISPLAY), battery_type },
831#endif 845#endif
846 { str(LANG_SHOW_ICONS), show_icons },
832 { str(LANG_CAPTION_BACKLIGHT), caption_backlight }, 847 { str(LANG_CAPTION_BACKLIGHT), caption_backlight },
833 }; 848 };
834 849