diff options
author | Jonas Häggqvist <rasher@rasher.dk> | 2008-01-31 21:05:32 +0000 |
---|---|---|
committer | Jonas Häggqvist <rasher@rasher.dk> | 2008-01-31 21:05:32 +0000 |
commit | d5f372aa5cfb4706cccf4fc085003308d540d0f1 (patch) | |
tree | 118525b284964a71a7e8e4285b9d1fa9ea7b2d40 | |
parent | 2dd3ea0b5da6f7603154d408cf9721124ae42f93 (diff) | |
download | rockbox-d5f372aa5cfb4706cccf4fc085003308d540d0f1.tar.gz rockbox-d5f372aa5cfb4706cccf4fc085003308d540d0f1.zip |
Use the .h bitmap headers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16192 a1c6a512-1295-4272-9138-f99709370657
-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 */ |