1
0
Fork 0
forked from len0rd/rockbox

fixing a yellow build

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2751 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Robert Hak 2002-10-26 05:46:53 +00:00
parent 5a9e8929cd
commit da407264c2

View file

@ -49,6 +49,31 @@ static bool contrast(void)
}
#ifdef HAVE_LCD_BITMAP
/**
* Menu to configure the battery display on status bar
*/
static bool battery_type(void)
{
char* names[] = { str(LANG_DISPLAY_GRAPHIC),
str(LANG_DISPLAY_NUMERIC) };
return set_option( str(LANG_BATTERY_DISPLAY),
&global_settings.battery_type, names, 2, NULL);
}
/**
* Menu to configure the volume display on status bar
*/
static bool volume_type(void)
{
char* names[] = { str(LANG_DISPLAY_GRAPHIC),
str(LANG_DISPLAY_NUMERIC) };
return set_option( str(LANG_VOLUME_DISPLAY), &global_settings.volume_type,
names, 2, NULL);
}
/**
* Menu to set the hold time of normal peaks.
*/
@ -157,24 +182,6 @@ static bool sort_case(void)
return set_bool( str(LANG_SORT_CASE), &global_settings.sort_case );
}
static bool battery_type(void)
{
char* names[] = { str(LANG_DISPLAY_GRAPHIC),
str(LANG_DISPLAY_NUMERIC) };
return set_option( str(LANG_BATTERY_DISPLAY),
&global_settings.battery_type, names, 2, NULL);
}
static bool volume_type(void)
{
char* names[] = { str(LANG_DISPLAY_GRAPHIC),
str(LANG_DISPLAY_NUMERIC) };
return set_option( str(LANG_VOLUME_DISPLAY), &global_settings.volume_type,
names, 2, NULL);
}
static bool resume(void)
{
char* names[] = { str(LANG_SET_BOOL_NO),