From 5629d551d710bd57a1cef129ce5a69b76cbbdd12 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 26 Jan 2010 20:14:42 +0000 Subject: 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 --- apps/gui/backdrop.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'apps/gui/backdrop.c') 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) show_skin_backdrop(); } +void backdrop_hide(void) +{ + lcd_set_backdrop(NULL); +} + + #if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 @@ -201,4 +207,11 @@ void remote_backdrop_unload(enum backdrop_type bdrop) } +void remote_backdrop_hide(void) +{ + lcd_remote_set_backdrop(NULL); +} + #endif + + -- cgit v1.2.3