summaryrefslogtreecommitdiff
path: root/geometrymanager.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-12-27 16:31:49 +0100
committerlouis <louis.braun@gmx.de>2013-12-27 16:31:49 +0100
commitc5af8c801775819dd9eed003883cb9cea2ef7376 (patch)
tree5fb061290ff8f0da82e84b977d93748b3377b5b0 /geometrymanager.c
parent53fa2c70cac3025ff223a6d0e2cdae2805b14c30 (diff)
downloadvdr-plugin-tvguide-c5af8c801775819dd9eed003883cb9cea2ef7376.tar.gz
vdr-plugin-tvguide-c5af8c801775819dd9eed003883cb9cea2ef7376.tar.bz2
Fixed OSD Background Color (Closes Ticket 1474)
Diffstat (limited to 'geometrymanager.c')
-rw-r--r--geometrymanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/geometrymanager.c b/geometrymanager.c
index 875e312..9c9e2b8 100644
--- a/geometrymanager.c
+++ b/geometrymanager.c
@@ -32,6 +32,7 @@ bool cGeometryManager::SetGeometry(int osdWidth, int osdHeight, bool force) {
clockWidth = tvFrameWidth / 3;
clockHeight = timeLineHeight;
footerHeight = tvguideConfig.footerHeightPercent * osdHeight / 100;
+ footerY = osdHeight - footerHeight;
if (tvguideConfig.displayMode == eVertical) {
colWidth = (osdWidth - timeLineWidth) / tvguideConfig.channelCols;
@@ -58,7 +59,6 @@ bool cGeometryManager::SetGeometry(int osdWidth, int osdHeight, bool force) {
dateVieverWidth = channelHeaderWidth + channelGroupsWidth;
dateVieverHeight = timeLineHeight;
}
-
buttonBorder = footerHeight / 6;
buttonWidth = osdWidth / 4 - 2 * buttonBorder;
buttonHeight = footerHeight - 3 * buttonBorder;