summaryrefslogtreecommitdiff
path: root/displayvolume.h
blob: cba37a8e83bcda29b90b48e2e56334afb6e5c26d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "baserender.h"

class cFlatDisplayVolume : public cFlatBaseRender, public cSkinDisplayVolume {
    private:
        bool muted;

        cPixmap *progressBarPixmap;
        int progressBarHeight;

        cPixmap *labelPixmap;
        int labelHeight;

        void DrawProgressBar(int Current, int Total);
    public:
        cFlatDisplayVolume(void);
        virtual ~cFlatDisplayVolume();
        virtual void SetVolume(int Current, int Total, bool Mute);
        virtual void Flush(void);
};