diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-08-29 14:48:09 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2020-03-24 15:18:53 +0100 |
commit | c3fd79e041d20a221c5d6effb00cfc60d50dfd9e (patch) | |
tree | 482168726854459bcdf7a048ff143c28a0e973aa /displaymessage.c | |
parent | d991048cfc487a5f01014f141a66d3cb92276c90 (diff) | |
download | skin-lcarsng-c3fd79e041d20a221c5d6effb00cfc60d50dfd9e.tar.gz skin-lcarsng-c3fd79e041d20a221c5d6effb00cfc60d50dfd9e.tar.bz2 |
Add margin
Diffstat (limited to 'displaymessage.c')
-rw-r--r-- | displaymessage.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/displaymessage.c b/displaymessage.c index dc4b0e5..531fe54 100644 --- a/displaymessage.c +++ b/displaymessage.c @@ -1,5 +1,6 @@ #include "lcarsng.h" #include "displaymessage.h" +#include "config.h" #include <vdr/font.h> // --- cLCARSNGDisplayMessage ---------------------------------------------- @@ -8,6 +9,7 @@ cLCARSNGDisplayMessage::cLCARSNGDisplayMessage(void) { const cFont *font = cFont::GetFont(fontOsd); int lineHeight = font->Height(); + Margin = Config.Margin; x0 = 0; x1 = lineHeight / 2; x2 = lineHeight; |