diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-04-08 14:16:21 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-04-09 14:50:42 +0200 |
commit | 929d8db9bac0d1f7d698650b59d2b2e1aa4c6320 (patch) | |
tree | 2e8fe2ac91e5bdf8dcf63e2990aa1e16e273f7eb /statusheader.c | |
parent | 56250e3af8c4ae61f0e8325605744ee0a2ec4864 (diff) | |
download | vdr-plugin-tvguide-929d8db9bac0d1f7d698650b59d2b2e1aa4c6320.tar.gz vdr-plugin-tvguide-929d8db9bac0d1f7d698650b59d2b2e1aa4c6320.tar.bz2 |
Optical changes in displaymode vertical
Diffstat (limited to 'statusheader.c')
-rw-r--r-- | statusheader.c | 7 |
1 files changed, 2 insertions, 5 deletions
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 +}
|