summaryrefslogtreecommitdiff
path: root/views/displayvolumeview.h
blob: 9ad9eabe7e7576aff929d145fb535e69dfa8c5c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __DISPLAYVOLUMEVIEW_H
#define __DISPLAYVOLUMEVIEW_H

#include "../libtemplate/template.h"
#include "view.h"

class cDisplayVolumeView : public cView {
private:
    int volumeLast;
    bool muteLast;
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