diff options
Diffstat (limited to 'apps/status.c')
-rw-r--r-- | apps/status.c | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/apps/status.c b/apps/status.c index 0270d75a13..31d2cbe2cf 100644 --- a/apps/status.c +++ b/apps/status.c | |||
@@ -53,6 +53,34 @@ void status_set_playmode(enum playmode mode) | |||
53 | status_draw(); | 53 | status_draw(); |
54 | } | 54 | } |
55 | 55 | ||
56 | #if defined(HAVE_LCD_CHARCELLS) | ||
57 | static bool record = false; | ||
58 | static bool audio = false; | ||
59 | static bool param = false; | ||
60 | static bool usb = false; | ||
61 | |||
62 | void status_set_record(bool b) | ||
63 | { | ||
64 | record = b; | ||
65 | } | ||
66 | |||
67 | void status_set_audio(bool b) | ||
68 | { | ||
69 | audio = b; | ||
70 | } | ||
71 | |||
72 | void status_set_param(bool b) | ||
73 | { | ||
74 | param = b; | ||
75 | } | ||
76 | |||
77 | void status_set_usb(bool b) | ||
78 | { | ||
79 | usb = b; | ||
80 | } | ||
81 | |||
82 | #endif /* HAVE_LCD_CHARCELLS */ | ||
83 | |||
56 | void status_draw(void) | 84 | void status_draw(void) |
57 | { | 85 | { |
58 | int battlevel = battery_level(); | 86 | int battlevel = battery_level(); |
@@ -160,6 +188,11 @@ void status_draw(void) | |||
160 | lcd_icon(ICON_REPEAT, global_settings.repeat_mode != REPEAT_OFF); | 188 | lcd_icon(ICON_REPEAT, global_settings.repeat_mode != REPEAT_OFF); |
161 | lcd_icon(ICON_1, global_settings.repeat_mode == REPEAT_ONE); | 189 | lcd_icon(ICON_1, global_settings.repeat_mode == REPEAT_ONE); |
162 | 190 | ||
191 | lcd_icon(ICON_RECORD, record); | ||
192 | lcd_icon(ICON_AUDIO, audio); | ||
193 | lcd_icon(ICON_PARAM, param); | ||
194 | lcd_icon(ICON_USB, usb); | ||
195 | |||
163 | #endif | 196 | #endif |
164 | #ifdef HAVE_LCD_BITMAP | 197 | #ifdef HAVE_LCD_BITMAP |
165 | if (global_settings.statusbar) { | 198 | if (global_settings.statusbar) { |