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.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/gui/backdrop.h') diff --git a/apps/gui/backdrop.h b/apps/gui/backdrop.h index b37071b5d4..4083464cee 100644 --- a/apps/gui/backdrop.h +++ b/apps/gui/backdrop.h @@ -35,6 +35,7 @@ enum backdrop_type { bool backdrop_load(enum backdrop_type bdrop, const char*); void backdrop_unload(enum backdrop_type bdrop); void backdrop_show(enum backdrop_type bdrop); +void backdrop_hide(void); #else /* LCD_DEPTH <= 1 || __PCTOOL__ */ @@ -52,6 +53,7 @@ static inline void backdrop_show(enum backdrop_type bdrop) (void)bdrop; } +static inline void backdrop_hide(void) {} #endif #if defined(HAVE_REMOTE_LCD) @@ -60,6 +62,7 @@ static inline void backdrop_show(enum backdrop_type bdrop) bool remote_backdrop_load(enum backdrop_type bdrop,const char* filename); void remote_backdrop_unload(enum backdrop_type bdrop); void remote_backdrop_show(enum backdrop_type bdrop); +void remote_backdrop_hide(void); #else static inline bool remote_backdrop_load(enum backdrop_type bdrop,const char* filename) @@ -76,6 +79,7 @@ static inline void remote_backdrop_show(enum backdrop_type bdrop) { (void)bdrop; } +static inline void remote_backdrop_hide(void) {} #endif #endif -- cgit v1.2.3