summaryrefslogtreecommitdiff
path: root/osdmanager.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdmanager.c')
-rw-r--r--osdmanager.c2
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) {