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