forked from len0rd/rockbox
Reworked backdrop handling. Fixes a bug that wasn't in the tracker yet ;)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9970 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6ddb5f2429
commit
93b899d0fe
11 changed files with 147 additions and 112 deletions
|
|
@ -78,6 +78,10 @@ void dac_line_in(bool enable);
|
|||
#include "dsp.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
#include "backdrop.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CHARGING
|
||||
static bool car_adapter_mode(void)
|
||||
{
|
||||
|
|
@ -323,7 +327,8 @@ static bool invert_cursor(void)
|
|||
static bool clear_main_backdrop(void)
|
||||
{
|
||||
global_settings.backdrop_file[0]=0;
|
||||
lcd_set_backdrop(NULL);
|
||||
unload_main_backdrop();
|
||||
show_main_backdrop();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue