diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/icons.c | 10 | ||||
-rw-r--r-- | apps/recorder/icons.h | 1 |
2 files changed, 7 insertions, 4 deletions
diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index fbfaf6cd8c..0e628d8255 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c | |||
@@ -69,6 +69,8 @@ unsigned char bitmap_icons_6x8[LastIcon][6] = | |||
69 | { 0x58, 0x5f, 0x42, 0x50, 0x55, 0x00 }, | 69 | { 0x58, 0x5f, 0x42, 0x50, 0x55, 0x00 }, |
70 | /* Mod or ajz file */ | 70 | /* Mod or ajz file */ |
71 | { 0x63, 0x7f, 0x3a, 0x7f, 0x63, 0x00 }, | 71 | { 0x63, 0x7f, 0x3a, 0x7f, 0x63, 0x00 }, |
72 | /* Font file */ | ||
73 | { 0x60, 0x70, 0x38, 0x2c, 0x7e, 0x7e }, | ||
72 | }; | 74 | }; |
73 | 75 | ||
74 | unsigned char bitmap_icons_7x8[][7] = | 76 | unsigned char bitmap_icons_7x8[][7] = |
@@ -234,10 +236,10 @@ void statusbar_icon_volume(int percent) | |||
234 | /* display volume lever numerical? */ | 236 | /* display volume lever numerical? */ |
235 | if (TIME_BEFORE(current_tick,switch_tick)) { | 237 | if (TIME_BEFORE(current_tick,switch_tick)) { |
236 | snprintf(buffer, sizeof(buffer), "%2d", percent); | 238 | snprintf(buffer, sizeof(buffer), "%2d", percent); |
237 | lcd_getstringsize(buffer, FONT_UI, &width, &height); | 239 | lcd_getstringsize(buffer, FONT_SYSFIXED, &width, &height); |
238 | if (height <= STATUSBAR_HEIGHT) | 240 | if (height <= STATUSBAR_HEIGHT) |
239 | lcd_putsxy(ICON_VOLUME_X_POS + ICON_VOLUME_WIDTH / 2 - | 241 | lcd_putsxy(ICON_VOLUME_X_POS + ICON_VOLUME_WIDTH / 2 - |
240 | width/2, STATUSBAR_Y_POS, buffer, 0); | 242 | width/2, STATUSBAR_Y_POS, buffer, FONT_SYSFIXED); |
241 | } | 243 | } |
242 | else { /* display volume bar */ | 244 | else { /* display volume bar */ |
243 | volume = volume * 14 / 100; | 245 | volume = volume * 14 / 100; |
@@ -309,8 +311,8 @@ void statusbar_time(int hour, int minute) | |||
309 | strncpy(buffer, "--:--", sizeof buffer); | 311 | strncpy(buffer, "--:--", sizeof buffer); |
310 | } | 312 | } |
311 | 313 | ||
312 | lcd_getstringsize(buffer, FONT_UI, &width, &height); | 314 | lcd_getstringsize(buffer, FONT_SYSFIXED, &width, &height); |
313 | if (height <= STATUSBAR_HEIGHT) | 315 | if (height <= STATUSBAR_HEIGHT) |
314 | lcd_putsxy(TIME_X_END - width, STATUSBAR_Y_POS, buffer, 0); | 316 | lcd_putsxy(TIME_X_END - width, STATUSBAR_Y_POS, buffer, FONT_SYSFIXED); |
315 | } | 317 | } |
316 | #endif | 318 | #endif |
diff --git a/apps/recorder/icons.h b/apps/recorder/icons.h index 3102093898..1cf75151da 100644 --- a/apps/recorder/icons.h +++ b/apps/recorder/icons.h | |||
@@ -28,6 +28,7 @@ enum icons_6x8 { | |||
28 | Box_Filled, Box_Empty, Slider_Horizontal, File, | 28 | Box_Filled, Box_Empty, Slider_Horizontal, File, |
29 | Folder, Directory, Playlist, Repeat, | 29 | Folder, Directory, Playlist, Repeat, |
30 | Selected, Cursor, Wps, Mod_Ajz, | 30 | Selected, Cursor, Wps, Mod_Ajz, |
31 | Font, | ||
31 | LastIcon | 32 | LastIcon |
32 | }; | 33 | }; |
33 | 34 | ||