summaryrefslogtreecommitdiff
path: root/recmenumanager.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-12-21 11:25:03 +0100
committerlouis <louis.braun@gmx.de>2013-12-21 11:25:03 +0100
commit4c61104675de5f1fac7e7fa95fb5743e18defc02 (patch)
tree7a3ee90e3b28246e8d4595954d4559445fb7ebe7 /recmenumanager.c
parent8aa2c81d3165a0517115337362f1203ea4bdd899 (diff)
downloadvdr-plugin-tvguide-4c61104675de5f1fac7e7fa95fb5743e18defc02.tar.gz
vdr-plugin-tvguide-4c61104675de5f1fac7e7fa95fb5743e18defc02.tar.bz2
Version 1.2.0pre
Diffstat (limited to 'recmenumanager.c')
-rw-r--r--recmenumanager.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/recmenumanager.c b/recmenumanager.c
index 75d6555..270165e 100644
--- a/recmenumanager.c
+++ b/recmenumanager.c
@@ -57,14 +57,14 @@ void cRecMenuManager::Close(void) {
}
void cRecMenuManager::SetBackground(void) {
- int backgroundWidth = tvguideConfig.osdWidth;
- int backgroundHeight = tvguideConfig.osdHeight;
+ int backgroundWidth = geoManager.osdWidth;
+ int backgroundHeight = geoManager.osdHeight;
pixmapBackground = osdManager.requestPixmap(3, cRect(0, 0, backgroundWidth, backgroundHeight));
pixmapBackground->Fill(theme.Color(clrRecMenuBackground));
if (tvguideConfig.scaleVideo) {
- int tvHeight = tvguideConfig.statusHeaderHeight;
+ int tvHeight = geoManager.statusHeaderHeight;
int tvWidth = tvHeight * 16 / 9;
- int tvX = tvguideConfig.osdWidth - tvWidth;
+ int tvX = geoManager.osdWidth - tvWidth;
pixmapBackground->DrawRectangle(cRect(tvX, 0, tvWidth, tvHeight), clrTransparent);
}
}