From c5af8c801775819dd9eed003883cb9cea2ef7376 Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 27 Dec 2013 16:31:49 +0100 Subject: Fixed OSD Background Color (Closes Ticket 1474) --- geometrymanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'geometrymanager.c') 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; -- cgit v1.2.3