summaryrefslogtreecommitdiff
path: root/statusheader.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-01-27 11:55:31 +0100
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-01-27 11:55:31 +0100
commit0f092903e85df8f27f85352c1d9244c615a3185e (patch)
tree33ff53ccdd0489ba9240257a79b3a9d4fa961ee7 /statusheader.c
parente62ea368e8b037cfa11e6c9cc3342a5a6723ea86 (diff)
downloadvdr-plugin-tvguide-0f092903e85df8f27f85352c1d9244c615a3185e.tar.gz
vdr-plugin-tvguide-0f092903e85df8f27f85352c1d9244c615a3185e.tar.bz2
Clock in timeline if displaymode horizontal
Diffstat (limited to 'statusheader.c')
-rw-r--r--statusheader.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/statusheader.c b/statusheader.c
index eee2473..9b9e9a0 100644
--- a/statusheader.c
+++ b/statusheader.c
@@ -57,7 +57,11 @@ void cStatusHeader::ScaleVideo(void) {
void cStatusHeader::DrawInfoText(cGrid *grid) {
int border = 10;
- int textWidth = width - 2 * border - geoManager.clockWidth - 2;
+ int textWidth = 0;
+ if (tvguideConfig.displayMode == eVertical)
+ textWidth = width - 2 * border - geoManager.clockWidth - 2;
+ else
+ textWidth = width - 2 * border;
tColor colorTextBack = (tvguideConfig.style == eStyleFlat)?color:clrTransparent;
pixmapText->Fill(clrTransparent);
int x = border;