diff options
author | Thomas Martitz <kugel@rockbox.org> | 2009-10-09 19:17:22 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2009-10-09 19:17:22 +0000 |
commit | 8e3e5e7a59f741c16eafc5ff0672af2eb1404835 (patch) | |
tree | 5dbfa1de6d84e1153a24f9c53dad800cf2ea9aec /apps/gui/viewport.h | |
parent | dcdc2b93ae910c30a8e1abe3fc78a739a0d4bf10 (diff) | |
download | rockbox-8e3e5e7a59f741c16eafc5ff0672af2eb1404835.tar.gz rockbox-8e3e5e7a59f741c16eafc5ff0672af2eb1404835.zip |
Fix player red and remove an obsolete function call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23056 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui/viewport.h')
-rw-r--r-- | apps/gui/viewport.h | 6 |
1 files changed, 4 insertions, 2 deletions
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); | |||
76 | int viewportmanager_get_statusbar(void); | 76 | int viewportmanager_get_statusbar(void); |
77 | int viewportmanager_set_statusbar(int enabled); | 77 | int viewportmanager_set_statusbar(int enabled); |
78 | 78 | ||
79 | /* call this when a theme changed */ | ||
80 | void viewportmanager_theme_changed(int); | ||
81 | 79 | ||
82 | /* | 80 | /* |
83 | * Initializes the given viewport with maximum dimensions minus status- and | 81 | * 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); | |||
87 | 85 | ||
88 | #ifdef HAVE_LCD_BITMAP | 86 | #ifdef HAVE_LCD_BITMAP |
89 | 87 | ||
88 | /* call this when a theme changed */ | ||
89 | void viewportmanager_theme_changed(int); | ||
90 | |||
90 | /* | 91 | /* |
91 | * Returns a pointer to the current viewport | 92 | * Returns a pointer to the current viewport |
92 | * - That could be the UI vp, or a viewport passed to do_menu() or the like | 93 | * - 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); | |||
111 | #else /* HAVE_LCD_CHARCELL */ | 112 | #else /* HAVE_LCD_CHARCELL */ |
112 | #define viewport_set_current_vp(a) | 113 | #define viewport_set_current_vp(a) |
113 | #define viewport_get_current_vp() NULL | 114 | #define viewport_get_current_vp() NULL |
115 | #define viewportmanager_theme_changed(a) | ||
114 | #endif | 116 | #endif |
115 | 117 | ||
116 | #endif /* __PCTOOL__ */ | 118 | #endif /* __PCTOOL__ */ |