summaryrefslogtreecommitdiff
path: root/volumebox.h
diff options
context:
space:
mode:
Diffstat (limited to 'volumebox.h')
-rw-r--r--volumebox.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/volumebox.h b/volumebox.h
index a9c42bd..27736a0 100644
--- a/volumebox.h
+++ b/volumebox.h
@@ -7,12 +7,15 @@
class cNopacityVolumeBox {
private:
cOsd *osd;
+ cFont *font;
+ bool simple;
int barWidth, barHeight;
+ int textLeft, textTop;
cPixmap *pixmapBackgroundVolume;
cPixmap *pixmapProgressBarVolume;
cPixmap *pixmapLabelVolume;
public:
- cNopacityVolumeBox(cOsd *Osd, const cRect &Rect);
+ cNopacityVolumeBox(cOsd *Osd, const cRect &Rect, cFont *Font, bool simple = false, bool altcolor = false);
~cNopacityVolumeBox(void);
void SetVolume(int Current = 0, int Total = 0, bool Mute = false);
void SetAlpha(int Alpha = 0);