From 929d8db9bac0d1f7d698650b59d2b2e1aa4c6320 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Mon, 8 Apr 2019 14:16:21 +0200 Subject: Optical changes in displaymode vertical --- statusheader.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'statusheader.c') diff --git a/statusheader.c b/statusheader.c index 9b9e9a0..f5db056 100644 --- a/statusheader.c +++ b/statusheader.c @@ -58,10 +58,7 @@ void cStatusHeader::ScaleVideo(void) { void cStatusHeader::DrawInfoText(cGrid *grid) { int border = 10; int textWidth = 0; - if (tvguideConfig.displayMode == eVertical) - textWidth = width - 2 * border - geoManager.clockWidth - 2; - else - textWidth = width - 2 * border; + textWidth = width - 2 * border; tColor colorTextBack = (tvguideConfig.style == eStyleFlat)?color:clrTransparent; pixmapText->Fill(clrTransparent); int x = border; @@ -143,4 +140,4 @@ void cStatusHeader::DecorateVideoFrame(void) { pixmapTVFrame->DrawEllipse(cRect(frame, height - radius - frame, radius, radius), theme.Color(clrBackgroundOSD), -3); pixmapTVFrame->DrawRectangle(cRect(0, height - frame, tvFrameWidth, frame), theme.Color(clrBackgroundOSD)); pixmapTVFrame->DrawEllipse(cRect(tvFrameWidth - radius - frame, height - radius - frame, radius, radius), theme.Color(clrBackgroundOSD), -4); -} \ No newline at end of file +} -- cgit v1.2.3