summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/icons.c9
-rw-r--r--apps/recorder/icons.h8
2 files changed, 10 insertions, 7 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index 222024cc70..515c08ccc9 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -72,10 +72,13 @@ const unsigned char bitmap_icons_7x8[][7] =
72 {0x3e,0x41,0x51,0x41,0x45,0x41,0x3e}, /* Shuffle playmode (dice) */ 72 {0x3e,0x41,0x51,0x41,0x45,0x41,0x3e}, /* Shuffle playmode (dice) */
73 {0x04,0x0c,0x1c,0x3c,0x1c,0x0c,0x04}, /* Down-arrow */ 73 {0x04,0x0c,0x1c,0x3c,0x1c,0x0c,0x04}, /* Down-arrow */
74 {0x20,0x30,0x38,0x3c,0x38,0x30,0x20}, /* Up-arrow */ 74 {0x20,0x30,0x38,0x3c,0x38,0x30,0x20}, /* Up-arrow */
75};
76
75#ifndef HAVE_LED 77#ifndef HAVE_LED
76 {0x1c,0x22,0x41,0x49,0x41,0x22,0x1c}, /* Disk/MMC activity */ 78/* Disk/MMC activity */
79const unsigned char bitmap_icon_disk[12] =
80 {0x15,0x3f,0x7d,0x7B,0x77,0x67,0x79,0x7b,0x57,0x4f,0x47,0x7f};
77#endif 81#endif
78};
79 82
80#if LCD_WIDTH == 112 || LCD_WIDTH == 128 83#if LCD_WIDTH == 112 || LCD_WIDTH == 128
81/* Archos Jukebox/ Ondio + Gmini LCD width */ 84/* Archos Jukebox/ Ondio + Gmini LCD width */
@@ -408,7 +411,7 @@ void statusbar_icon_lock(void)
408 */ 411 */
409void statusbar_led(void) 412void statusbar_led(void)
410{ 413{
411 lcd_bitmap(bitmap_icons_7x8[Icon_Disk], ICON_DISK_X_POS, 414 lcd_bitmap(bitmap_icon_disk, ICON_DISK_X_POS,
412 STATUSBAR_Y_POS, ICON_DISK_WIDTH, STATUSBAR_HEIGHT, false); 415 STATUSBAR_Y_POS, ICON_DISK_WIDTH, STATUSBAR_HEIGHT, false);
413} 416}
414#endif 417#endif
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h
index 394fa14b57..1ad3f10b94 100644
--- a/apps/recorder/icons.h
+++ b/apps/recorder/icons.h
@@ -57,15 +57,15 @@ enum icons_7x8 {
57 Icon_Shuffle, 57 Icon_Shuffle,
58 Icon_DownArrow, 58 Icon_DownArrow,
59 Icon_UpArrow, 59 Icon_UpArrow,
60#ifndef HAVE_LED
61 Icon_Disk,
62#endif
63 Icon_Last 60 Icon_Last
64}; 61};
65 62
66extern const unsigned char bitmap_icons_5x8[1][5]; 63extern const unsigned char bitmap_icons_5x8[1][5];
67extern const unsigned char bitmap_icons_6x8[LastIcon][6]; 64extern const unsigned char bitmap_icons_6x8[LastIcon][6];
68extern const unsigned char bitmap_icons_7x8[Icon_Last][7]; 65extern const unsigned char bitmap_icons_7x8[Icon_Last][7];
66#ifndef HAVE_LED
67extern const unsigned char bitmap_icon_disk[];
68#endif
69 69
70#if LCD_WIDTH == 112 || LCD_WIDTH == 128 70#if LCD_WIDTH == 112 || LCD_WIDTH == 128
71extern const unsigned char rockbox112x37[]; 71extern const unsigned char rockbox112x37[];
@@ -92,7 +92,7 @@ extern const unsigned char rockbox160x53[];
92#define ICON_SHUFFLE_WIDTH 7 92#define ICON_SHUFFLE_WIDTH 7
93#define LOCK_X_POS STATUSBAR_X_POS+ICON_BATTERY_WIDTH+ICON_PLUG_WIDTH+ICON_VOLUME_WIDTH+ICON_PLAY_STATE_WIDTH+ICON_PLAY_MODE_WIDTH+ICON_SHUFFLE_WIDTH+2+2+2+2+2+2 93#define LOCK_X_POS STATUSBAR_X_POS+ICON_BATTERY_WIDTH+ICON_PLUG_WIDTH+ICON_VOLUME_WIDTH+ICON_PLAY_STATE_WIDTH+ICON_PLAY_MODE_WIDTH+ICON_SHUFFLE_WIDTH+2+2+2+2+2+2
94#define LOCK_WIDTH 5 94#define LOCK_WIDTH 5
95#define ICON_DISK_WIDTH 7 95#define ICON_DISK_WIDTH 12
96#define ICON_DISK_X_POS STATUSBAR_WIDTH-ICON_DISK_WIDTH 96#define ICON_DISK_X_POS STATUSBAR_WIDTH-ICON_DISK_WIDTH
97#define TIME_X_END STATUSBAR_WIDTH-1 97#define TIME_X_END STATUSBAR_WIDTH-1
98 98