diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/icons.c | 8 | ||||
-rw-r--r-- | apps/recorder/icons.h | 3 |
2 files changed, 4 insertions, 7 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] = | |||
58 | const unsigned char bitmap_icons_7x8[][7] = | 58 | const 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 | */ |
242 | void statusbar_icon_battery(int percent, bool charging) | 243 | void 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 | /* |
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h index 77a310d053..b2900a1566 100644 --- a/apps/recorder/icons.h +++ b/apps/recorder/icons.h | |||
@@ -43,6 +43,7 @@ enum icons_5x8 { | |||
43 | 43 | ||
44 | enum icons_7x8 { | 44 | enum icons_7x8 { |
45 | Icon_Plug, | 45 | Icon_Plug, |
46 | Icon_USBPlug, | ||
46 | Icon_Speaker, | 47 | Icon_Speaker, |
47 | Icon_Mute, | 48 | Icon_Mute, |
48 | Icon_Play, | 49 | Icon_Play, |
@@ -97,7 +98,7 @@ extern const unsigned char rockbox160x53[]; | |||
97 | #define TIME_X_END STATUSBAR_WIDTH-1 | 98 | #define TIME_X_END STATUSBAR_WIDTH-1 |
98 | 99 | ||
99 | extern void statusbar_wipe(void); | 100 | extern void statusbar_wipe(void); |
100 | extern void statusbar_icon_battery(int percent, bool charging); | 101 | extern void statusbar_icon_battery(int percent); |
101 | extern bool statusbar_icon_volume(int percent); | 102 | extern bool statusbar_icon_volume(int percent); |
102 | extern void statusbar_icon_play_state(int state); | 103 | extern void statusbar_icon_play_state(int state); |
103 | extern void statusbar_icon_play_mode(int mode); | 104 | extern void statusbar_icon_play_mode(int mode); |