summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-05-24 17:27:53 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2022-05-28 14:47:56 +0200
commitaeb1dc8099631e4ce427e7e07997acf02c75c9cf (patch)
treef9b25af17cbea29ccedeefd9e8a776ac5d12ca22 /status.c
parent87fafc9d6531a2fcb06190005d0486aaf8fe1dc7 (diff)
downloadskin-lcarsng-aeb1dc8099631e4ce427e7e07997acf02c75c9cf.tar.gz
skin-lcarsng-aeb1dc8099631e4ce427e7e07997acf02c75c9cf.tar.bz2
Add volume bar to main menus
Diffstat (limited to 'status.c')
-rw-r--r--status.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/status.c b/status.c
new file mode 100644
index 0000000..8635347
--- /dev/null
+++ b/status.c
@@ -0,0 +1,14 @@
+/*
+ * status.c: Keeping track of several VDR status settings
+ */
+
+#include "status.h"
+
+cLCARSNGStatusMonitor *statusMonitor;
+
+void cLCARSNGStatusMonitor::SetVolume(int volume, bool absolute)
+{ // The volume has been set to the given value, either
+ // absolutely or relative to the current volume.
+
+ Volume = absolute ? volume : Volume + volume;
+}