diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-01-27 11:55:31 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-01-27 11:55:31 +0100 |
commit | 0f092903e85df8f27f85352c1d9244c615a3185e (patch) | |
tree | 33ff53ccdd0489ba9240257a79b3a9d4fa961ee7 /statusheader.c | |
parent | e62ea368e8b037cfa11e6c9cc3342a5a6723ea86 (diff) | |
download | vdr-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.c | 6 |
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;
|