summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-07 00:05:29 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-07 00:05:29 +0000
commitd7f94393533a47597e3786b2687877f2b601b3d4 (patch)
treeba24a08cc34767bb9648aaaf28ad7a8c3387d99b /apps/plugins
parentf894a4c2691fbde1758a05407cb5eadcaec4a6c8 (diff)
downloadrockbox-d7f94393533a47597e3786b2687877f2b601b3d4.zip
rockbox-d7f94393533a47597e3786b2687877f2b601b3d4.tar.gz
rockbox-d7f94393533a47597e3786b2687877f2b601b3d4.tar.bz2
rockbox-d7f94393533a47597e3786b2687877f2b601b3d4.tar.xz
Adapted remote LCD driver and player graphics library to the new bitmap function naming scheme.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7047 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/lib/playergfx.h3
-rw-r--r--apps/plugins/logo.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/lib/playergfx.h b/apps/plugins/lib/playergfx.h
index a0e3973..198d98e 100644
--- a/apps/plugins/lib/playergfx.h
+++ b/apps/plugins/lib/playergfx.h
@@ -45,5 +45,8 @@ void pgfx_bitmap_part(const unsigned char *src, int src_x, int src_y,
int stride, int x, int y, int width, int height);
void pgfx_bitmap(const unsigned char *src, int x, int y, int width, int height);
+#define pgfx_mono_bitmap_part pgfx_bitmap_part
+#define pgfx_mono_bitmap pgfx_bitmap
+
#endif /* HAVE_LCD_CHARCELLS */
#endif /* __PGFX_H__ */
diff --git a/apps/plugins/logo.c b/apps/plugins/logo.c
index ad8b8fd..baaf46f 100644
--- a/apps/plugins/logo.c
+++ b/apps/plugins/logo.c
@@ -233,14 +233,14 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) {
rb->lcd_mono_bitmap(LOGO, x, y, LOGO_WIDTH, LOGO_HEIGHT);
#ifdef REMOTE_LOGO
rb->lcd_remote_clear_display();
- rb->lcd_remote_bitmap(REMOTE_LOGO,
+ rb->lcd_remote_mono_bitmap(REMOTE_LOGO,
(x * (REMOTE_WIDTH - REMOTE_LOGO_WIDTH)) / (DISPLAY_WIDTH - LOGO_WIDTH),
(y * (REMOTE_HEIGHT - REMOTE_LOGO_HEIGHT)) / (DISPLAY_HEIGHT - LOGO_HEIGHT),
REMOTE_LOGO_WIDTH, REMOTE_LOGO_HEIGHT);
#endif
#else
pgfx_clear_display();
- pgfx_bitmap(LOGO, x % 5, y, LOGO_WIDTH, LOGO_HEIGHT);
+ pgfx_mono_bitmap(LOGO, x % 5, y, LOGO_WIDTH, LOGO_HEIGHT);
cpos = x / 5;
#endif