diff options
author | root <root@maschine.(none)> | 2012-11-27 02:11:15 +0100 |
---|---|---|
committer | root <root@maschine.(none)> | 2012-11-27 02:11:15 +0100 |
commit | 4b51af06327270caa4f38c31f28cdfbc1baabc4e (patch) | |
tree | 2556e7eb912d5f1352866924cfe3e6f3d2dc13bb /displayvolume.h | |
download | skin-nopacity-4b51af06327270caa4f38c31f28cdfbc1baabc4e.tar.gz skin-nopacity-4b51af06327270caa4f38c31f28cdfbc1baabc4e.tar.bz2 |
Initial push nOpacity 0.0.3
Diffstat (limited to 'displayvolume.h')
-rw-r--r-- | displayvolume.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/displayvolume.h b/displayvolume.h new file mode 100644 index 0000000..0ba696e --- /dev/null +++ b/displayvolume.h @@ -0,0 +1,26 @@ +#ifndef __NOPACITY_DISPLAYVOLUME_H +#define __NOPACITY_DISPLAYVOLUME_H + +class cNopacityDisplayVolume : public cSkinDisplayVolume, cThread { +private: + int FrameTime; + int FadeTime; + bool initial; + bool muted; + int width, height; + int labelHeight; + int progressBarWidth, progressBarHeight; + cOsd *osd; + cPixmap *pixmapContent; + cPixmap *pixmapProgressBar; + cPixmap *pixmapLabel; + cFont *font; + virtual void Action(void); +public: + cNopacityDisplayVolume(void); + virtual ~cNopacityDisplayVolume(); + virtual void SetVolume(int Current, int Total, bool Mute); + virtual void Flush(void); + }; + +#endif //__NOPACITY_DISPLAYVOLUME_H
\ No newline at end of file |