summaryrefslogtreecommitdiff
path: root/apps/recorder/icons.c
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2005-02-19 00:34:15 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2005-02-19 00:34:15 +0000
commitc76fbf7162e598895b1308f1855b0f70629968fc (patch)
tree77bac888514fd8d7212974a0b2d455b52f3cc4ad /apps/recorder/icons.c
parent7b56110e5e74055d45753456034b333788823af4 (diff)
downloadrockbox-c76fbf7162e598895b1308f1855b0f70629968fc.tar.gz
rockbox-c76fbf7162e598895b1308f1855b0f70629968fc.zip
Ondio: disk indication in the status bar, to compensate for lacking LED
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6012 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/icons.c')
-rw-r--r--apps/recorder/icons.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index 4e8601d77a..222024cc70 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -72,6 +72,9 @@ 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#ifndef HAVE_LED
76 {0x1c,0x22,0x41,0x49,0x41,0x22,0x1c}, /* Disk/MMC activity */
77#endif
75}; 78};
76 79
77#if LCD_WIDTH == 112 || LCD_WIDTH == 128 80#if LCD_WIDTH == 112 || LCD_WIDTH == 128
@@ -399,6 +402,17 @@ void statusbar_icon_lock(void)
399 STATUSBAR_Y_POS, 5, 8, false); 402 STATUSBAR_Y_POS, 5, 8, false);
400} 403}
401 404
405#ifndef HAVE_LED
406/*
407 * no real LED: disk activity in status bar
408 */
409void statusbar_led(void)
410{
411 lcd_bitmap(bitmap_icons_7x8[Icon_Disk], ICON_DISK_X_POS,
412 STATUSBAR_Y_POS, ICON_DISK_WIDTH, STATUSBAR_HEIGHT, false);
413}
414#endif
415
402#ifdef HAVE_RTC 416#ifdef HAVE_RTC
403/* 417/*
404 * Print time to status bar 418 * Print time to status bar