From c3fd79e041d20a221c5d6effb00cfc60d50dfd9e Mon Sep 17 00:00:00 2001 From: kamel5 Date: Thu, 29 Aug 2019 14:48:09 +0200 Subject: Add margin --- displayvolume.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'displayvolume.c') 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 @@ -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; -- cgit v1.2.3