summaryrefslogtreecommitdiff
path: root/displayreplay.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-06 19:37:11 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-07-07 13:28:23 +0200
commita9a233cd8a9871d659fb2cd2b56b754e9fead06a (patch)
tree6ac81ffeafc72285a70f89232b6c0c4da57bbb60 /displayreplay.c
parent1f1060d0ec9d791c33e1c4c9e9e2fc86b9ccfbd3 (diff)
downloadskin-lcarsng-a9a233cd8a9871d659fb2cd2b56b754e9fead06a.tar.gz
skin-lcarsng-a9a233cd8a9871d659fb2cd2b56b754e9fead06a.tar.bz2
Correct Hight of recording icon
Diffstat (limited to 'displayreplay.c')
-rw-r--r--displayreplay.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/displayreplay.c b/displayreplay.c
index d995ef6..d5dee0c 100644
--- a/displayreplay.c
+++ b/displayreplay.c
@@ -52,6 +52,7 @@ cLCARSNGDisplayReplay::cLCARSNGDisplayReplay(bool ModeOnly):cThread("LCARS Displ
const cFont *font = cFont::GetFont(fontOsd);
modeOnly = ModeOnly;
lineHeight = font->Height();
+ iconHeight = bmRecording.Height();
frameColor = Theme.Color(clrReplayFrameBg);
lastCurrentWidth = 0;
lastTotalWidth = 0;
@@ -84,7 +85,7 @@ cLCARSNGDisplayReplay::cLCARSNGDisplayReplay(bool ModeOnly):cThread("LCARS Displ
yp04 = yp03 + Gap;
yp09 = yp04 + 3 * lineHeight + Gap / 2;
- yp08 = yp09 - lineHeight;
+ yp08 = yp09 - max(lineHeight, iconHeight);
yp07 = yp08 - lineHeight;
yp06 = yp08 - d / 4;
yp05 = yp09 - d / 2;