From 8e3e5e7a59f741c16eafc5ff0672af2eb1404835 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 9 Oct 2009 19:17:22 +0000 Subject: Fix player red and remove an obsolete function call. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23056 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/viewport.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'apps/gui/viewport.h') diff --git a/apps/gui/viewport.h b/apps/gui/viewport.h index 9ab0a71439..463de2b333 100644 --- a/apps/gui/viewport.h +++ b/apps/gui/viewport.h @@ -76,8 +76,6 @@ void viewportmanager_init(void); int viewportmanager_get_statusbar(void); int viewportmanager_set_statusbar(int enabled); -/* call this when a theme changed */ -void viewportmanager_theme_changed(int); /* * Initializes the given viewport with maximum dimensions minus status- and @@ -87,6 +85,9 @@ void viewport_set_fullscreen(struct viewport *vp, enum screen_type screen); #ifdef HAVE_LCD_BITMAP +/* call this when a theme changed */ +void viewportmanager_theme_changed(int); + /* * Returns a pointer to the current viewport * - That could be the UI vp, or a viewport passed to do_menu() or the like @@ -111,6 +112,7 @@ bool viewport_point_within_vp(const struct viewport *vp, int x, int y); #else /* HAVE_LCD_CHARCELL */ #define viewport_set_current_vp(a) #define viewport_get_current_vp() NULL +#define viewportmanager_theme_changed(a) #endif #endif /* __PCTOOL__ */ -- cgit v1.2.3