From 15379c792c0506f20da16c026bf2e281ddc48443 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20H=C3=A4ggqvist?= Date: Sat, 21 May 2005 13:37:30 +0000 Subject: Oops, didn't mean to commit those. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6500 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/logo.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'apps/plugins/logo.c') diff --git a/apps/plugins/logo.c b/apps/plugins/logo.c index acfea23..9cace89 100644 --- a/apps/plugins/logo.c +++ b/apps/plugins/logo.c @@ -25,8 +25,8 @@ #define RAND_SCALE 5 #if defined(IRIVER_H100) && !defined(SIMULATOR) -#define REMOTE_WIDTH LCD_REMOTE_WIDTH -#define REMOTE_HEIGHT LCD_REMOTE_HEIGHT +#define REMOTE_WIDTH 134 +#define REMOTE_HEIGHT 65 #define REMOTE_LOGO_WIDTH 91 #define REMOTE_LOGO_HEIGHT 32 #define REMOTE_LOGO rockbox91x32 @@ -191,7 +191,6 @@ const unsigned char rockbox16x7[] = { enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { - static char debug[30]; int button; int timer = 10; int x = (DISPLAY_WIDTH / 2) - (LOGO_WIDTH / 2); @@ -227,8 +226,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { (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, false); - rb->snprintf(debug, sizeof(debug), "X: %d Y: %d - RX: %d RY: %d", x, y, (x * (REMOTE_WIDTH - REMOTE_LOGO_WIDTH)) / (DISPLAY_WIDTH - LOGO_WIDTH), (y * (REMOTE_HEIGHT - REMOTE_LOGO_HEIGHT)) / (DISPLAY_HEIGHT - LOGO_HEIGHT)); - rb->lcd_putsxy(5, DISPLAY_HEIGHT - 10, debug); #endif #else pgfx_clear_display(); -- cgit v1.1