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:
parent
5a9e8929cd
commit
da407264c2
1 changed files with 25 additions and 18 deletions
|
|
@ -49,6 +49,31 @@ static bool contrast(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_LCD_BITMAP
|
#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.
|
* 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 );
|
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)
|
static bool resume(void)
|
||||||
{
|
{
|
||||||
char* names[] = { str(LANG_SET_BOOL_NO),
|
char* names[] = { str(LANG_SET_BOOL_NO),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue