summaryrefslogtreecommitdiff
path: root/volumebox.h
blob: 73c2c06f6ff918a8425371116b43ee4a5c2c699e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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