diff options
-rw-r--r-- | apps/plugins/logo.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/apps/plugins/logo.c b/apps/plugins/logo.c index 5447652dbe..db987295f0 100644 --- a/apps/plugins/logo.c +++ b/apps/plugins/logo.c | |||
@@ -29,26 +29,17 @@ PLUGIN_HEADER | |||
29 | #ifdef HAVE_REMOTE_LCD | 29 | #ifdef HAVE_REMOTE_LCD |
30 | #define REMOTE_WIDTH LCD_REMOTE_WIDTH | 30 | #define REMOTE_WIDTH LCD_REMOTE_WIDTH |
31 | #define REMOTE_HEIGHT LCD_REMOTE_HEIGHT | 31 | #define REMOTE_HEIGHT LCD_REMOTE_HEIGHT |
32 | #define REMOTE_LOGO_WIDTH 91 | 32 | #include "remote_rockboxlogo.h" |
33 | #define REMOTE_LOGO_HEIGHT 32 | 33 | #define REMOTE_LOGO_WIDTH BMPWIDTH_remote_rockboxlogo |
34 | #define REMOTE_LOGO_HEIGHT BMPHEIGHT_remote_rockboxlogo | ||
34 | #define REMOTE_LOGO remote_rockboxlogo | 35 | #define REMOTE_LOGO remote_rockboxlogo |
35 | extern const fb_remote_data remote_rockboxlogo[]; | 36 | extern const fb_remote_data remote_rockboxlogo[]; |
36 | #endif /* HAVE_REMOTE_LCD */ | 37 | #endif /* HAVE_REMOTE_LCD */ |
37 | 38 | ||
38 | #if LCD_DEPTH == 16 | ||
39 | #define LOGO_WIDTH 128 | ||
40 | #define LOGO_HEIGHT 40 | ||
41 | |||
42 | #elif LCD_DEPTH == 2 | ||
43 | #define LOGO_WIDTH 138 | ||
44 | #define LOGO_HEIGHT 46 | ||
45 | |||
46 | #elif LCD_DEPTH == 1 | ||
47 | #define LOGO_WIDTH 112 | ||
48 | #define LOGO_HEIGHT 30 | ||
49 | #endif | ||
50 | |||
51 | #define LOGO rockboxlogo | 39 | #define LOGO rockboxlogo |
40 | #include "rockboxlogo.h" | ||
41 | #define LOGO_WIDTH BMPWIDTH_rockboxlogo | ||
42 | #define LOGO_HEIGHT BMPHEIGHT_rockboxlogo | ||
52 | extern const fb_data rockboxlogo[]; | 43 | extern const fb_data rockboxlogo[]; |
53 | 44 | ||
54 | #else /* !LCD_BITMAP */ | 45 | #else /* !LCD_BITMAP */ |