summaryrefslogtreecommitdiff
path: root/displayvolume.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2019-08-29 14:48:09 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2020-03-24 15:18:53 +0100
commitc3fd79e041d20a221c5d6effb00cfc60d50dfd9e (patch)
tree482168726854459bcdf7a048ff143c28a0e973aa /displayvolume.c
parentd991048cfc487a5f01014f141a66d3cb92276c90 (diff)
downloadskin-lcarsng-c3fd79e041d20a221c5d6effb00cfc60d50dfd9e.tar.gz
skin-lcarsng-c3fd79e041d20a221c5d6effb00cfc60d50dfd9e.tar.bz2
Add margin
Diffstat (limited to 'displayvolume.c')
-rw-r--r--displayvolume.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/displayvolume.c b/displayvolume.c
index da73d5a..025e3d6 100644
--- a/displayvolume.c
+++ b/displayvolume.c
@@ -1,4 +1,5 @@
#include "lcarsng.h"
+#include "config.h"
#include "displayvolume.h"
#include <vdr/font.h>
@@ -10,6 +11,7 @@ cLCARSNGDisplayVolume::cLCARSNGDisplayVolume(void)
int lineHeight = font->Height();
frameColor = Theme.Color(clrVolumeFrame);
mute = -1;
+ Margin = Config.Margin;
x0 = 0;
x1 = lineHeight / 2;
x2 = lineHeight;