diff options
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 72d752ec55..ea71538322 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -348,7 +348,7 @@ bool recording_screen(void) | |||
348 | 348 | ||
349 | lcd_setfont(FONT_SYSFIXED); | 349 | lcd_setfont(FONT_SYSFIXED); |
350 | lcd_getstringsize("M", &w, &h); | 350 | lcd_getstringsize("M", &w, &h); |
351 | lcd_setmargins(0, 8); | 351 | lcd_setmargins(global_settings.invert_cursor ? 0 : w, 8); |
352 | 352 | ||
353 | if(rec_create_directory() > 0) | 353 | if(rec_create_directory() > 0) |
354 | have_recorded = true; | 354 | have_recorded = true; |
@@ -598,7 +598,7 @@ bool recording_screen(void) | |||
598 | update_countdown = 1; /* Update immediately */ | 598 | update_countdown = 1; /* Update immediately */ |
599 | 599 | ||
600 | lcd_setfont(FONT_SYSFIXED); | 600 | lcd_setfont(FONT_SYSFIXED); |
601 | lcd_setmargins(0, 8); | 601 | lcd_setmargins(global_settings.invert_cursor ? 0 : w, 8); |
602 | } | 602 | } |
603 | break; | 603 | break; |
604 | #endif | 604 | #endif |
@@ -739,7 +739,7 @@ bool recording_screen(void) | |||
739 | fmt_gain(SOUND_MIC_GAIN, | 739 | fmt_gain(SOUND_MIC_GAIN, |
740 | global_settings.rec_mic_gain, | 740 | global_settings.rec_mic_gain, |
741 | buf2, sizeof(buf2))); | 741 | buf2, sizeof(buf2))); |
742 | if (pos++ == cursor) | 742 | if (global_settings.invert_cursor && (pos++ == cursor)) |
743 | lcd_puts_style(0, 4, buf, STYLE_INVERT); | 743 | lcd_puts_style(0, 4, buf, STYLE_INVERT); |
744 | else | 744 | else |
745 | lcd_puts(0, 4, buf); | 745 | lcd_puts(0, 4, buf); |
@@ -754,7 +754,7 @@ bool recording_screen(void) | |||
754 | snprintf(buf, 32, "%s: %s", str(LANG_RECORDING_GAIN), | 754 | snprintf(buf, 32, "%s: %s", str(LANG_RECORDING_GAIN), |
755 | fmt_gain(SOUND_LEFT_GAIN, gain, | 755 | fmt_gain(SOUND_LEFT_GAIN, gain, |
756 | buf2, sizeof(buf2))); | 756 | buf2, sizeof(buf2))); |
757 | if (pos++ == cursor) | 757 | if (global_settings.invert_cursor && (pos++ == cursor)) |
758 | lcd_puts_style(0, 4, buf, STYLE_INVERT); | 758 | lcd_puts_style(0, 4, buf, STYLE_INVERT); |
759 | else | 759 | else |
760 | lcd_puts(0, 4, buf); | 760 | lcd_puts(0, 4, buf); |
@@ -763,7 +763,7 @@ bool recording_screen(void) | |||
763 | fmt_gain(SOUND_LEFT_GAIN, | 763 | fmt_gain(SOUND_LEFT_GAIN, |
764 | global_settings.rec_left_gain, | 764 | global_settings.rec_left_gain, |
765 | buf2, sizeof(buf2))); | 765 | buf2, sizeof(buf2))); |
766 | if (pos++ == cursor) | 766 | if (global_settings.invert_cursor && (pos++ == cursor)) |
767 | lcd_puts_style(0, 5, buf, STYLE_INVERT); | 767 | lcd_puts_style(0, 5, buf, STYLE_INVERT); |
768 | else | 768 | else |
769 | lcd_puts(0, 5, buf); | 769 | lcd_puts(0, 5, buf); |
@@ -772,13 +772,16 @@ bool recording_screen(void) | |||
772 | fmt_gain(SOUND_RIGHT_GAIN, | 772 | fmt_gain(SOUND_RIGHT_GAIN, |
773 | global_settings.rec_right_gain, | 773 | global_settings.rec_right_gain, |
774 | buf2, sizeof(buf2))); | 774 | buf2, sizeof(buf2))); |
775 | if (pos++ == cursor) | 775 | if (global_settings.invert_cursor && (pos++ == cursor)) |
776 | lcd_puts_style(0, 6, buf, STYLE_INVERT); | 776 | lcd_puts_style(0, 6, buf, STYLE_INVERT); |
777 | else | 777 | else |
778 | lcd_puts(0, 6, buf); | 778 | lcd_puts(0, 6, buf); |
779 | } | 779 | } |
780 | } | 780 | } |
781 | 781 | ||
782 | if(global_settings.rec_source != SOURCE_SPDIF) | ||
783 | put_cursorxy(0, 4 + cursor, true); | ||
784 | |||
782 | if (global_settings.rec_source != SOURCE_LINE) { | 785 | if (global_settings.rec_source != SOURCE_LINE) { |
783 | snprintf(buf, 32, "%s %s [%d]", | 786 | snprintf(buf, 32, "%s %s [%d]", |
784 | freq_str[global_settings.rec_frequency], | 787 | freq_str[global_settings.rec_frequency], |