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 /displaytracks.c | |
parent | d991048cfc487a5f01014f141a66d3cb92276c90 (diff) | |
download | skin-lcarsng-c3fd79e041d20a221c5d6effb00cfc60d50dfd9e.tar.gz skin-lcarsng-c3fd79e041d20a221c5d6effb00cfc60d50dfd9e.tar.bz2 |
Add margin
Diffstat (limited to 'displaytracks.c')
-rw-r--r-- | displaytracks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/displaytracks.c b/displaytracks.c index 0f923da..46c0d1b 100644 --- a/displaytracks.c +++ b/displaytracks.c @@ -1,5 +1,6 @@ #include "lcarsng.h" #include "displaytracks.h" +#include "config.h" #include <vdr/font.h> // --- cLCARSNGDisplayTracks ----------------------------------------------- @@ -16,6 +17,7 @@ cLCARSNGDisplayTracks::cLCARSNGDisplayTracks(const char *Title, int NumTracks, c frameColorBg = Theme.Color(clrTrackFrameBg); frameColorMg = Theme.Color(clrTrackFrameMg); currentIndex = -1; + Margin = Config.Margin; xt00 = 0; xt01 = xt00 + lineHeight / 2; xt02 = xt01 + Gap; |