mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 13:01:48 +00:00
Clock in timeline if displaymode horizontal
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user