summaryrefslogtreecommitdiff
path: root/osdmanager.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-05-24 16:23:23 +0200
committerlouis <louis.braun@gmx.de>2013-05-24 16:23:23 +0200
commit9f47ab764efc83d8bf94f25c4badeb6e4c91c649 (patch)
treed919adf7613949f0107b968c2bf13736075c17fc /osdmanager.c
parentc611e004582067640111ef2f023410025201157d (diff)
downloadvdr-plugin-tvguide-9f47ab764efc83d8bf94f25c4badeb6e4c91c649.tar.gz
vdr-plugin-tvguide-9f47ab764efc83d8bf94f25c4badeb6e4c91c649.tar.bz2
Version 0.0.4
Diffstat (limited to 'osdmanager.c')
-rw-r--r--osdmanager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/osdmanager.c b/osdmanager.c
index bc9662d..5e12305 100644
--- a/osdmanager.c
+++ b/osdmanager.c
@@ -37,7 +37,8 @@ bool cOsdManager::setOsd() {
void cOsdManager::setBackground() {
if (tvguideConfig.displayStatusHeader && tvguideConfig.scaleVideo) {
- osd->DrawRectangle(0, 0, cOsd::OsdWidth() - tvguideConfig.statusHeaderHeight * 16 / 9, tvguideConfig.statusHeaderHeight, theme.Color(clrBackgroundOSD));
+ int widthStatus = cOsd::OsdWidth() - tvguideConfig.statusHeaderHeight * 16 / 9;
+ osd->DrawRectangle(0, 0, widthStatus, tvguideConfig.statusHeaderHeight, theme.Color(clrBackgroundOSD));
osd->DrawRectangle(0, tvguideConfig.statusHeaderHeight, cOsd::OsdWidth(), cOsd::OsdHeight() - tvguideConfig.statusHeaderHeight, theme.Color(clrBackgroundOSD));
}
else