diff options
author | louis <louis.braun@gmx.de> | 2013-12-21 11:25:03 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2013-12-21 11:25:03 +0100 |
commit | 4c61104675de5f1fac7e7fa95fb5743e18defc02 (patch) | |
tree | 7a3ee90e3b28246e8d4595954d4559445fb7ebe7 /recmenumanager.c | |
parent | 8aa2c81d3165a0517115337362f1203ea4bdd899 (diff) | |
download | vdr-plugin-tvguide-4c61104675de5f1fac7e7fa95fb5743e18defc02.tar.gz vdr-plugin-tvguide-4c61104675de5f1fac7e7fa95fb5743e18defc02.tar.bz2 |
Version 1.2.0pre
Diffstat (limited to 'recmenumanager.c')
-rw-r--r-- | recmenumanager.c | 8 |
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);
}
}
|