vdr-plugin-skindesigner/views/displayvolumeview.h
2014-09-27 09:25:14 +02:00

22 lines
552 B
C++

#ifndef __DISPLAYVOLUMEVIEW_H
#define __DISPLAYVOLUMEVIEW_H
#include "../libtemplate/template.h"
#include "view.h"
class cDisplayVolumeView : public cView {
private:
int volumeLast;
bool muteLast;
virtual void Action(void);
public:
cDisplayVolumeView(cTemplateView *tmplView);
virtual ~cDisplayVolumeView();
bool createOsd(void);
void DrawBackground(void);
void DrawVolume(int current, int total, bool mute);
void DoFadeIn(void) { Start(); };
void Flush(void) { DoFlush(); };
};
#endif //__DISPLAYVOLUMEVIEW_H