diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2003-06-05 09:38:26 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2003-06-05 09:38:26 +0000 |
| commit | d1a6fa113d30fc133e9401b3cce2bfcd0e76e7d3 (patch) | |
| tree | bf67047daad332da54f9939efd4ae3ede7185994 /apps/settings_menu.c | |
| parent | ffefc5d5e1f8d1e0cc5fa895200b57ac0595300a (diff) | |
| download | rockbox-d1a6fa113d30fc133e9401b3cce2bfcd0e76e7d3.zip rockbox-d1a6fa113d30fc133e9401b3cce2bfcd0e76e7d3.tar.gz rockbox-d1a6fa113d30fc133e9401b3cce2bfcd0e76e7d3.tar.bz2 rockbox-d1a6fa113d30fc133e9401b3cce2bfcd0e76e7d3.tar.xz | |
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.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/apps/settings_menu.c b/apps/settings_menu.c index 1f31803..cc3a1b9 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 }, }; |