summaryrefslogtreecommitdiff
path: root/volumebox.h
blob: 27736a0fb0d215cbe621d0c9fdb95c639e72829f (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_VOLUMEBOX_H
#define __NOPACITY_VOLUMEBOX_H

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

class cNopacityVolumeBox {
private:
  cOsd *osd;
  cFont *font;
  bool simple;
  int barWidth, barHeight;
  int textLeft, textTop;
  cPixmap *pixmapBackgroundVolume;
  cPixmap *pixmapProgressBarVolume;
  cPixmap *pixmapLabelVolume;
public:
  cNopacityVolumeBox(cOsd *Osd, const cRect &Rect, cFont *Font, bool simple = false, bool altcolor = false);
  ~cNopacityVolumeBox(void);
  void SetVolume(int Current = 0, int Total = 0, bool Mute = false);
  void SetAlpha(int Alpha = 0);
  };

#endif //__NOPACITY_VOLUMEBOX_H