diff options
Diffstat (limited to 'apps/recorder/icons.h')
-rw-r--r-- | apps/recorder/icons.h | 49 |
1 files changed, 9 insertions, 40 deletions
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h index 14e84cd64f..62ed73aeac 100644 --- a/apps/recorder/icons.h +++ b/apps/recorder/icons.h | |||
@@ -21,11 +21,19 @@ | |||
21 | 21 | ||
22 | #include <lcd.h> | 22 | #include <lcd.h> |
23 | 23 | ||
24 | #ifdef HAVE_LCD_BITMAP | ||
25 | |||
26 | /* External bitmaps */ | ||
27 | |||
28 | #include <rockboxlogo.h> | ||
29 | #ifdef HAVE_REMOTE_LCD | ||
30 | #include <remote_rockboxlogo.h> | ||
31 | #endif | ||
32 | |||
24 | /* | 33 | /* |
25 | * Icons of size 6x8 pixels | 34 | * Icons of size 6x8 pixels |
26 | */ | 35 | */ |
27 | 36 | ||
28 | #ifdef HAVE_LCD_BITMAP | ||
29 | 37 | ||
30 | /* Symbolic names for icons */ | 38 | /* Symbolic names for icons */ |
31 | enum icons_5x8 { | 39 | enum icons_5x8 { |
@@ -78,45 +86,6 @@ extern const unsigned char bitmap_icons_6x8[Icon6x8Last][6]; | |||
78 | extern const unsigned char bitmap_icons_7x8[Icon7x8Last][7]; | 86 | extern const unsigned char bitmap_icons_7x8[Icon7x8Last][7]; |
79 | extern const unsigned char bitmap_icon_disk[]; | 87 | extern const unsigned char bitmap_icon_disk[]; |
80 | 88 | ||
81 | extern const fb_data rockboxlogo[]; | ||
82 | |||
83 | #if LCD_DEPTH == 1 | ||
84 | /* Archos targets */ | ||
85 | #define ROCKBOXLOGO_WIDTH 112 | ||
86 | #define ROCKBOXLOGO_HEIGHT 37 | ||
87 | |||
88 | #elif (LCD_WIDTH == 160) && (LCD_DEPTH == 2) | ||
89 | /* iRiver H1x0 */ | ||
90 | #define ROCKBOXLOGO_WIDTH 160 | ||
91 | #define ROCKBOXLOGO_HEIGHT 53 | ||
92 | |||
93 | #elif (LCD_WIDTH == 160) && (LCD_DEPTH == 16) | ||
94 | /* iAudio X5 */ | ||
95 | #define ROCKBOXLOGO_WIDTH 160 | ||
96 | #define ROCKBOXLOGO_HEIGHT 50 | ||
97 | |||
98 | #elif (LCD_WIDTH == 176) && (LCD_DEPTH == 16) | ||
99 | /* iPod Nano */ | ||
100 | #define ROCKBOXLOGO_WIDTH 176 | ||
101 | #define ROCKBOXLOGO_HEIGHT 54 | ||
102 | |||
103 | #elif (LCD_WIDTH == 320) && (LCD_DEPTH == 16) | ||
104 | /* iPod Video */ | ||
105 | #define ROCKBOXLOGO_WIDTH 320 | ||
106 | #define ROCKBOXLOGO_HEIGHT 98 | ||
107 | |||
108 | #elif (LCD_WIDTH >= 220) && (LCD_DEPTH == 16) | ||
109 | /* iriver H3x0, iPod Color/Photo */ | ||
110 | #define ROCKBOXLOGO_WIDTH 220 | ||
111 | #define ROCKBOXLOGO_HEIGHT 68 | ||
112 | #endif | ||
113 | |||
114 | #ifdef HAVE_REMOTE_LCD | ||
115 | extern const unsigned char remote_rockboxlogo[]; | ||
116 | #define REMOTE_ROCKBOXLOGO_WIDTH 112 | ||
117 | #define REMOTE_ROCKBOXLOGO_HEIGHT 37 | ||
118 | #endif | ||
119 | |||
120 | #define STATUSBAR_X_POS 0 | 89 | #define STATUSBAR_X_POS 0 |
121 | #define STATUSBAR_Y_POS 0 /* MUST be a multiple of 8 */ | 90 | #define STATUSBAR_Y_POS 0 /* MUST be a multiple of 8 */ |
122 | #define STATUSBAR_HEIGHT 8 | 91 | #define STATUSBAR_HEIGHT 8 |