summaryrefslogtreecommitdiff
path: root/apps/recorder/icons.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/icons.c')
-rw-r--r--apps/recorder/icons.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c
index c77050e322..a10f2e1699 100644
--- a/apps/recorder/icons.c
+++ b/apps/recorder/icons.c
@@ -58,6 +58,7 @@ const unsigned char bitmap_icons_6x8[LastIcon][6] =
58const unsigned char bitmap_icons_7x8[][7] = 58const unsigned char bitmap_icons_7x8[][7] =
59{ 59{
60 {0x08,0x1c,0x3e,0x3e,0x3e,0x14,0x14}, /* Power plug */ 60 {0x08,0x1c,0x3e,0x3e,0x3e,0x14,0x14}, /* Power plug */
61 {0x1c,0x14,0x3e,0x2a,0x22,0x1c,0x08}, /* USB plug */
61 {0x00,0x1c,0x1c,0x3e,0x7f,0x00,0x00}, /* Speaker */ 62 {0x00,0x1c,0x1c,0x3e,0x7f,0x00,0x00}, /* Speaker */
62 {0x01,0x1e,0x1c,0x3e,0x7f,0x20,0x40}, /* Speaker mute */ 63 {0x01,0x1e,0x1c,0x3e,0x7f,0x20,0x40}, /* Speaker mute */
63 {0x00,0x7f,0x7f,0x3e,0x1c,0x08,0x00}, /* Play */ 64 {0x00,0x7f,0x7f,0x3e,0x1c,0x08,0x00}, /* Play */
@@ -239,7 +240,7 @@ const unsigned char rockbox160x53[] = {
239/* 240/*
240 * Print battery icon to status bar 241 * Print battery icon to status bar
241 */ 242 */
242void statusbar_icon_battery(int percent, bool charging) 243void statusbar_icon_battery(int percent)
243{ 244{
244 int i; 245 int i;
245 int fill; 246 int fill;
@@ -292,11 +293,6 @@ void statusbar_icon_battery(int percent, bool charging)
292 STATUSBAR_Y_POS, "?"); 293 STATUSBAR_Y_POS, "?");
293 lcd_setfont(FONT_UI); 294 lcd_setfont(FONT_UI);
294 } 295 }
295
296 /* draw power plug if charging */
297 if (charging)
298 lcd_bitmap(bitmap_icons_7x8[Icon_Plug], ICON_PLUG_X_POS,
299 STATUSBAR_Y_POS, ICON_PLUG_WIDTH, STATUSBAR_HEIGHT, false);
300} 296}
301 297
302/* 298/*