diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-07-07 00:05:29 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-07-07 00:05:29 +0000 |
commit | d7f94393533a47597e3786b2687877f2b601b3d4 (patch) | |
tree | ba24a08cc34767bb9648aaaf28ad7a8c3387d99b /apps/plugins/logo.c | |
parent | f894a4c2691fbde1758a05407cb5eadcaec4a6c8 (diff) | |
download | rockbox-d7f94393533a47597e3786b2687877f2b601b3d4.tar.gz rockbox-d7f94393533a47597e3786b2687877f2b601b3d4.zip |
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/logo.c')
-rw-r--r-- | apps/plugins/logo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/logo.c b/apps/plugins/logo.c index ad8b8fd025..baaf46f911 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) { | |||
233 | rb->lcd_mono_bitmap(LOGO, x, y, LOGO_WIDTH, LOGO_HEIGHT); | 233 | rb->lcd_mono_bitmap(LOGO, x, y, LOGO_WIDTH, LOGO_HEIGHT); |
234 | #ifdef REMOTE_LOGO | 234 | #ifdef REMOTE_LOGO |
235 | rb->lcd_remote_clear_display(); | 235 | rb->lcd_remote_clear_display(); |
236 | rb->lcd_remote_bitmap(REMOTE_LOGO, | 236 | rb->lcd_remote_mono_bitmap(REMOTE_LOGO, |
237 | (x * (REMOTE_WIDTH - REMOTE_LOGO_WIDTH)) / (DISPLAY_WIDTH - LOGO_WIDTH), | 237 | (x * (REMOTE_WIDTH - REMOTE_LOGO_WIDTH)) / (DISPLAY_WIDTH - LOGO_WIDTH), |
238 | (y * (REMOTE_HEIGHT - REMOTE_LOGO_HEIGHT)) / (DISPLAY_HEIGHT - LOGO_HEIGHT), | 238 | (y * (REMOTE_HEIGHT - REMOTE_LOGO_HEIGHT)) / (DISPLAY_HEIGHT - LOGO_HEIGHT), |
239 | REMOTE_LOGO_WIDTH, REMOTE_LOGO_HEIGHT); | 239 | REMOTE_LOGO_WIDTH, REMOTE_LOGO_HEIGHT); |
240 | #endif | 240 | #endif |
241 | #else | 241 | #else |
242 | pgfx_clear_display(); | 242 | pgfx_clear_display(); |
243 | pgfx_bitmap(LOGO, x % 5, y, LOGO_WIDTH, LOGO_HEIGHT); | 243 | pgfx_mono_bitmap(LOGO, x % 5, y, LOGO_WIDTH, LOGO_HEIGHT); |
244 | cpos = x / 5; | 244 | cpos = x / 5; |
245 | #endif | 245 | #endif |
246 | 246 | ||