1
0
Fork 0
forked from len0rd/rockbox

Added 12 hour clock to status bar on recorders.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2621 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Markus Braun 2002-10-14 12:50:20 +00:00
parent c7e0bea57a
commit 22a7a2d7d3
5 changed files with 41 additions and 5 deletions

View file

@ -285,6 +285,14 @@ static bool timedate_set(void)
#endif
return result;
}
static bool timeformat_set(void)
{
char* names[] = { str(LANG_24_HOUR_CLOCK),
str(LANG_12_HOUR_CLOCK) };
return set_option(str(LANG_TIMEFORMAT), &global_settings.timeformat, names, 2, NULL);
}
#endif
static bool spindown(void)
@ -454,6 +462,7 @@ static bool system_settings_menu(void)
#endif
#ifdef HAVE_LCD_BITMAP
{ str(LANG_TIME), timedate_set },
{ str(LANG_TIMEFORMAT), timeformat_set },
#endif
{ str(LANG_POWEROFF_IDLE), poweroff_idle_timer },
{ str(LANG_RESET), reset_settings },