summaryrefslogtreecommitdiff
path: root/displayvolume.h
blob: 0b3f9d7e4b2fbb57184f35fb617709fefcde3c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef __NOPACITY_DISPLAYVOLUME_H
#define __NOPACITY_DISPLAYVOLUME_H

#include <vdr/skins.h>
#include <vdr/thread.h>
#include "volumebox.h"
#include "imagecache.h"

class cNopacityDisplayVolume : public cSkinDisplayVolume, cThread {
private:
  bool initial;
  bool fadeout;
  cOsd *osd;
  cNopacityVolumeBox *volumeBox;
  void Action(void);
  void SetAlpha(int Alpha = 0);
public:
  cNopacityDisplayVolume(void);
  ~cNopacityDisplayVolume(void);
  virtual void SetVolume(int Current, int Total, bool Mute);
  virtual void Flush(void);
  };

#endif //__NOPACITY_DISPLAYVOLUME_H