diff options
author | louis <louis.braun@gmx.de> | 2014-01-11 16:53:23 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2014-01-11 16:53:23 +0100 |
commit | 3121910dc1267c593d24e39e068bfa91f798603f (patch) | |
tree | 2ae630b5655ce7aa2821e6440b4e5056d46d91e3 /geometrymanager.c | |
parent | 9b45a5d093ce62a36aef5d48848d8e8c3864e8aa (diff) | |
download | vdr-plugin-tvguide-3121910dc1267c593d24e39e068bfa91f798603f.tar.gz vdr-plugin-tvguide-3121910dc1267c593d24e39e068bfa91f798603f.tar.bz2 |
restructured detailöed EPG View that tv frame and status buttons are displayed
Diffstat (limited to 'geometrymanager.c')
-rw-r--r-- | geometrymanager.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/geometrymanager.c b/geometrymanager.c index 9c9e2b8..94d47b7 100644 --- a/geometrymanager.c +++ b/geometrymanager.c @@ -20,9 +20,9 @@ bool cGeometryManager::SetGeometry(int osdWidth, int osdHeight, bool force) { this->osdHeight = osdHeight;
esyslog("tvguide: Set OSD to %d x %d px", osdWidth, osdHeight);
- statusHeaderHeight = (tvguideConfig.displayStatusHeader)?(tvguideConfig.statusHeaderPercent * osdHeight / 100):0;
+ statusHeaderHeight = (tvguideConfig.displayStatusHeader)?(tvguideConfig.headerHeightPercent * osdHeight / 100):0;
tvFrameWidth = statusHeaderHeight * 16 / 9;
- statusHeaderContentWidth = (tvguideConfig.scaleVideo)?(osdWidth - tvFrameWidth):osdWidth;
+ headerContentWidth = (tvguideConfig.scaleVideo)?(osdWidth - tvFrameWidth):osdWidth;
channelGroupsWidth = (tvguideConfig.displayChannelGroups)?(tvguideConfig.channelGroupsPercent * osdWidth / 100):0;
channelGroupsHeight = (tvguideConfig.displayChannelGroups)?(tvguideConfig.channelGroupsPercent * osdHeight / 100):0;
channelHeaderWidth = tvguideConfig.channelHeaderWidthPercent * osdWidth / 100;
@@ -63,7 +63,7 @@ bool cGeometryManager::SetGeometry(int osdWidth, int osdHeight, bool force) { buttonWidth = osdWidth / 4 - 2 * buttonBorder;
buttonHeight = footerHeight - 3 * buttonBorder;
- epgViewHeaderHeight = tvguideConfig.epgViewHeaderPercent * osdHeight / 100;
+ epgViewHeaderHeight = tvguideConfig.headerHeightPercent * osdHeight / 100;
borderRecMenus = 10;
|