diff options
author | louis <louis.braun@gmx.de> | 2013-12-27 16:31:49 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-12-27 16:31:49 +0100 |
commit | c5af8c801775819dd9eed003883cb9cea2ef7376 (patch) | |
tree | 5fb061290ff8f0da82e84b977d93748b3377b5b0 /osdmanager.c | |
parent | 53fa2c70cac3025ff223a6d0e2cdae2805b14c30 (diff) | |
download | vdr-plugin-tvguide-c5af8c801775819dd9eed003883cb9cea2ef7376.tar.gz vdr-plugin-tvguide-c5af8c801775819dd9eed003883cb9cea2ef7376.tar.bz2 |
Fixed OSD Background Color (Closes Ticket 1474)
Diffstat (limited to 'osdmanager.c')
-rw-r--r-- | osdmanager.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/osdmanager.c b/osdmanager.c index 385acf9..eefedf4 100644 --- a/osdmanager.c +++ b/osdmanager.c @@ -16,6 +16,7 @@ bool cOsdManager::setOsd() { }
void cOsdManager::setBackground() {
+
if (tvguideConfig.displayStatusHeader && tvguideConfig.scaleVideo) {
int widthStatus = cOsd::OsdWidth() - geoManager.statusHeaderHeight * 16 / 9;
osd->DrawRectangle(0, 0, widthStatus, geoManager.statusHeaderHeight, theme.Color(clrBackgroundOSD));
@@ -23,6 +24,7 @@ void cOsdManager::setBackground() { }
else
osd->DrawRectangle(0, 0, Width(), Height(), theme.Color(clrBackgroundOSD));
+
}
cPixmap *cOsdManager::requestPixmap(int Layer, const cRect &ViewPort, const cRect &DrawPort) {
|