diff options
author | Thomas Martitz <kugel@rockbox.org> | 2010-01-26 20:14:42 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2010-01-26 20:14:42 +0000 |
commit | 5629d551d710bd57a1cef129ce5a69b76cbbdd12 (patch) | |
tree | 1196849b9a02ebf39fa5d6c33df1db9334aeead2 /apps/gui/backdrop.c | |
parent | 7a73a9cd4e882ebbc37831160ec18d0f251f14bd (diff) | |
download | rockbox-5629d551d710bd57a1cef129ce5a69b76cbbdd12.tar.gz rockbox-5629d551d710bd57a1cef129ce5a69b76cbbdd12.zip |
Accept the last patch FS#10797 with a few changes by me (fixing side effects and adding the new backdrop_hide() to the multi screen api). It changes the hide_bars parameter to mean hide_theme.
This makes plugins show the menu backdrop in their backdrop so that they don't look like crap if you have an sbs and look more integrated. I've test about all plugins and all work fine.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24335 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/backdrop.c')
-rw-r--r-- | apps/gui/backdrop.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/gui/backdrop.c b/apps/gui/backdrop.c index c220d06493..7e56dcb7db 100644 --- a/apps/gui/backdrop.c +++ b/apps/gui/backdrop.c | |||
@@ -124,6 +124,12 @@ void backdrop_show(enum backdrop_type bdrop) | |||
124 | show_skin_backdrop(); | 124 | show_skin_backdrop(); |
125 | } | 125 | } |
126 | 126 | ||
127 | void backdrop_hide(void) | ||
128 | { | ||
129 | lcd_set_backdrop(NULL); | ||
130 | } | ||
131 | |||
132 | |||
127 | 133 | ||
128 | #if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 | 134 | #if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 |
129 | 135 | ||
@@ -201,4 +207,11 @@ void remote_backdrop_unload(enum backdrop_type bdrop) | |||
201 | } | 207 | } |
202 | 208 | ||
203 | 209 | ||
210 | void remote_backdrop_hide(void) | ||
211 | { | ||
212 | lcd_remote_set_backdrop(NULL); | ||
213 | } | ||
214 | |||
204 | #endif | 215 | #endif |
216 | |||
217 | |||