From d1a6fa113d30fc133e9401b3cce2bfcd0e76e7d3 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Thu, 5 Jun 2003 09:38:26 +0000 Subject: 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 --- apps/settings_menu.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'apps/settings_menu.c') 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) return rc; } +/** + * Menu to set icon visibility + */ +static bool show_icons(void) +{ + return set_bool( str(LANG_SHOW_ICONS), &global_settings.show_icons ); +} + #ifdef HAVE_LCD_BITMAP + /** + * Menu to set LCD Mode (normal/inverse) + */ static bool invert(void) { bool rc = set_bool_options(str(LANG_INVERT), @@ -70,6 +81,9 @@ static bool invert(void) return rc; } +/** + * Menu to set Line Selector Type (Pointer/Bar) + */ static bool invert_cursor(void) { return set_bool_options(str(LANG_INVERT_CURSOR), @@ -829,6 +843,7 @@ static bool display_settings_menu(void) { str(LANG_VOLUME_DISPLAY), volume_type }, { str(LANG_BATTERY_DISPLAY), battery_type }, #endif + { str(LANG_SHOW_ICONS), show_icons }, { str(LANG_CAPTION_BACKLIGHT), caption_backlight }, }; -- cgit v1.2.3