summaryrefslogtreecommitdiff
path: root/volumebox.h
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 /volumebox.h
parent87fafc9d6531a2fcb06190005d0486aaf8fe1dc7 (diff)
downloadskin-lcarsng-aeb1dc8099631e4ce427e7e07997acf02c75c9cf.tar.gz
skin-lcarsng-aeb1dc8099631e4ce427e7e07997acf02c75c9cf.tar.bz2
Add volume bar to main menus
Diffstat (limited to 'volumebox.h')
-rw-r--r--volumebox.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/volumebox.h b/volumebox.h
new file mode 100644
index 0000000..73c2c06
--- /dev/null
+++ b/volumebox.h
@@ -0,0 +1,21 @@
+#ifndef __LCARSNG_VOLUMEBOX_H
+#define __LCARSNG_VOLUMEBOX_H
+
+#include <vdr/skins.h>
+
+class cLCARSNGVolumeBox {
+private:
+ cOsd *osd;
+ cPixmap *pixmap;
+ cPixmap *pixmapBackground;
+ int x0, x1, x2, x3, x4, x5, x6, x7;
+ int y0, y1;
+ tColor frameColor;
+ int mute;
+public:
+ cLCARSNGVolumeBox(cOsd *Osd, const cRect &Rect);
+ ~cLCARSNGVolumeBox();
+ void SetVolume(int Current = 0, int Total = 0, bool Mute = false);
+ };
+
+#endif //__LCARSNG_VOLUMEBOX_H