summaryrefslogtreecommitdiff
path: root/displayvolume.h
blob: 5ccbefce8583f11e0158840b0d8144ede81b86c3 (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 *labelPixmap;
        cPixmap *muteLogoPixmap;
    
        int labelHeight;
    public:
        cFlatDisplayVolume(void);
        virtual ~cFlatDisplayVolume();
        virtual void SetVolume(int Current, int Total, bool Mute);
        //virtual void SetAudioChannel(int AudioChannel);
        virtual void Flush(void);

        void PreLoadImages(void);
};