1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Jörg Hohensohn 2005-03-01 22:55:52 +00:00
parent 78520e6244
commit f5e7a76bf0
2 changed files with 11 additions and 8 deletions

View file

@ -72,11 +72,14 @@ 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 */
#endif
};
#ifndef HAVE_LED
/* 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

View file

@ -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