summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2005-03-01 22:55:52 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2005-03-01 22:55:52 +0000
commitf5e7a76bf01a476001f11cf9a741185e031a7060 (patch)
treeb6073011025cd790dc6953c26b4572dea8398691
parent78520e62441b1460703407285fefa5d90a364f6d (diff)
downloadrockbox-f5e7a76bf01a476001f11cf9a741185e031a7060.zip
rockbox-f5e7a76bf01a476001f11cf9a741185e031a7060.tar.gz
rockbox-f5e7a76bf01a476001f11cf9a741185e031a7060.tar.bz2
rockbox-f5e7a76bf01a476001f11cf9a741185e031a7060.tar.xz
Ondio activity icon changed to MMC/flash symbol (thanks Jens)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6099 a1c6a512-1295-4272-9138-f99709370657
-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 222024c..515c08c 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -72,10 +72,13 @@ const unsigned char bitmap_icons_7x8[][7] =
{0x3e,0x41,0x51,0x41,0x45,0x41,0x3e}, /* Shuffle playmode (dice) */
{0x04,0x0c,0x1c,0x3c,0x1c,0x0c,0x04}, /* Down-arrow */
{0x20,0x30,0x38,0x3c,0x38,0x30,0x20}, /* Up-arrow */
+};
+
#ifndef HAVE_LED
- {0x1c,0x22,0x41,0x49,0x41,0x22,0x1c}, /* Disk/MMC activity */
+/* Disk/MMC activity */
+const unsigned char bitmap_icon_disk[12] =
+ {0x15,0x3f,0x7d,0x7B,0x77,0x67,0x79,0x7b,0x57,0x4f,0x47,0x7f};
#endif
-};
#if LCD_WIDTH == 112 || LCD_WIDTH == 128
/* Archos Jukebox/ Ondio + Gmini LCD width */
@@ -408,7 +411,7 @@ void statusbar_icon_lock(void)
*/
void statusbar_led(void)
{
- lcd_bitmap(bitmap_icons_7x8[Icon_Disk], ICON_DISK_X_POS,
+ lcd_bitmap(bitmap_icon_disk, ICON_DISK_X_POS,
STATUSBAR_Y_POS, ICON_DISK_WIDTH, STATUSBAR_HEIGHT, false);
}
#endif
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h
index 394fa14..1ad3f10 100644
--- a/apps/recorder/icons.h
+++ b/apps/recorder/icons.h
@@ -57,15 +57,15 @@ enum icons_7x8 {
Icon_Shuffle,
Icon_DownArrow,
Icon_UpArrow,
-#ifndef HAVE_LED
- Icon_Disk,
-#endif
Icon_Last
};
extern const unsigned char bitmap_icons_5x8[1][5];
extern const unsigned char bitmap_icons_6x8[LastIcon][6];
extern const unsigned char bitmap_icons_7x8[Icon_Last][7];
+#ifndef HAVE_LED
+extern const unsigned char bitmap_icon_disk[];
+#endif
#if LCD_WIDTH == 112 || LCD_WIDTH == 128
extern const unsigned char rockbox112x37[];
@@ -92,7 +92,7 @@ extern const unsigned char rockbox160x53[];
#define ICON_SHUFFLE_WIDTH 7
#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
#define LOCK_WIDTH 5
-#define ICON_DISK_WIDTH 7
+#define ICON_DISK_WIDTH 12
#define ICON_DISK_X_POS STATUSBAR_WIDTH-ICON_DISK_WIDTH
#define TIME_X_END STATUSBAR_WIDTH-1