diff options
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 9251a1d609..de4a2e6805 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -1064,8 +1064,9 @@ bool recording_screen(bool no_source) | |||
1064 | screen_update = 1; | 1064 | screen_update = 1; |
1065 | screens[1].clear_display(); | 1065 | screens[1].clear_display(); |
1066 | snprintf(buf, sizeof(buf), str(LANG_REMOTE_LCD_ON)); | 1066 | snprintf(buf, sizeof(buf), str(LANG_REMOTE_LCD_ON)); |
1067 | screens[1].puts((screens[1].width/w - strlen(buf))/2 + 1, | 1067 | screens[1].puts((screens[1].getwidth()/w - strlen(buf))/2 + |
1068 | screens[1].height/(h*2) + 1, buf); | 1068 | 1, |
1069 | screens[1].getheight()/(h*2) + 1, buf); | ||
1069 | screens[1].update(); | 1070 | screens[1].update(); |
1070 | gui_syncsplash(0, str(LANG_REMOTE_LCD_OFF)); | 1071 | gui_syncsplash(0, str(LANG_REMOTE_LCD_OFF)); |
1071 | } | 1072 | } |
@@ -1880,10 +1881,12 @@ bool recording_screen(bool no_source) | |||
1880 | /* draw the trigger status */ | 1881 | /* draw the trigger status */ |
1881 | FOR_NB_SCREENS(i) | 1882 | FOR_NB_SCREENS(i) |
1882 | { | 1883 | { |
1884 | /* NOTE: UGLY width setting based on height! To be fixed! */ | ||
1883 | trig_width[i] = ((vp[i].height < 64) || | 1885 | trig_width[i] = ((vp[i].height < 64) || |
1884 | ((vp[i].height < 72) && (PM_HEIGHT > 1))) ? | 1886 | ((vp[i].height < 72) && (PM_HEIGHT > 1))) ? |
1885 | screens[i].width - 14 * w : screens[i].width; | 1887 | screens[i].getwidth() - 14 * w : |
1886 | trig_xpos[i] = screens[i].width - trig_width[i]; | 1888 | screens[i].getwidth(); |
1889 | trig_xpos[i] = screens[i].getwidth() - trig_width[i]; | ||
1887 | trig_ypos[i] = ((vp[i].height < 72) && (PM_HEIGHT > 1)) ? | 1890 | trig_ypos[i] = ((vp[i].height < 72) && (PM_HEIGHT > 1)) ? |
1888 | h*2 : | 1891 | h*2 : |
1889 | h*(1 + filename_offset[i] + PM_HEIGHT + | 1892 | h*(1 + filename_offset[i] + PM_HEIGHT + |