From 4764ee04c9c6432ad3cada25a8e87be056815815 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 6 Aug 2009 00:14:40 +0000 Subject: Add backdrop functions to the multiscreen api and add a enum backdrop_type parameter for different backdrops (main, wps), symplifying calls and removing dozens of #ifdefs (stubs added for non-backdrop displays that can't do backdrops). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22176 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/wps_display.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'apps/gui/skin_engine/wps_display.c') diff --git a/apps/gui/skin_engine/wps_display.c b/apps/gui/skin_engine/wps_display.c index 98050093c4..6a94c6a946 100644 --- a/apps/gui/skin_engine/wps_display.c +++ b/apps/gui/skin_engine/wps_display.c @@ -82,14 +82,7 @@ bool gui_wps_display(struct gui_wps *gwps) } #endif display->clear_display(); -#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 - if (display->screen_type == SCREEN_REMOTE) - show_remote_wps_backdrop(); - else if (display->screen_type == SCREEN_MAIN) -#endif -#if LCD_DEPTH > 1 - show_wps_backdrop(); -#endif + display->backdrop_show(BACKDROP_SKIN_WPS); return gui_wps_redraw(gwps, WPS_REFRESH_ALL); } -- cgit v1.2.3