From f5e7a76bf01a476001f11cf9a741185e031a7060 Mon Sep 17 00:00:00 2001 From: Jörg Hohensohn Date: Tue, 1 Mar 2005 22:55:52 +0000 Subject: 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 --- apps/recorder/icons.c | 9 ++++++--- apps/recorder/icons.h | 8 ++++---- 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] = {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 394fa14b57..1ad3f10b94 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 -- cgit v1.2.3