From aeb1dc8099631e4ce427e7e07997acf02c75c9cf Mon Sep 17 00:00:00 2001 From: kamel5 Date: Tue, 24 May 2022 17:27:53 +0200 Subject: Add volume bar to main menus --- skinlcarsng.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'skinlcarsng.c') diff --git a/skinlcarsng.c b/skinlcarsng.c index 5a1b0c4..d0a2ffd 100644 --- a/skinlcarsng.c +++ b/skinlcarsng.c @@ -2,6 +2,7 @@ #include #include "config.h" #include "setup.h" +#include "status.h" #include "lcarsng.h" #if defined(APIVERSNUM) && APIVERSNUM < 10734 @@ -39,9 +40,11 @@ class cPluginLCARSNG : public cPlugin { cPluginLCARSNG::cPluginLCARSNG(void) { lcarsng = NULL; + statusMonitor = NULL; } cPluginLCARSNG::~cPluginLCARSNG() { + delete statusMonitor; } const char *cPluginLCARSNG::CommandLineHelp(void) { @@ -64,6 +67,7 @@ bool cPluginLCARSNG::Start(void) { dsyslog("skinlcarsng: TrueColor OSD found"); cDevice::PrimaryDevice()->ScaleVideo(cRect::Null); lcarsng = new cLCARSNG; + statusMonitor = new cLCARSNGStatusMonitor; return lcarsng; } -- cgit v1.2.3