diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2022-05-24 17:27:53 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2022-05-28 14:47:56 +0200 |
commit | aeb1dc8099631e4ce427e7e07997acf02c75c9cf (patch) | |
tree | f9b25af17cbea29ccedeefd9e8a776ac5d12ca22 /displaymenu.h | |
parent | 87fafc9d6531a2fcb06190005d0486aaf8fe1dc7 (diff) | |
download | skin-lcarsng-aeb1dc8099631e4ce427e7e07997acf02c75c9cf.tar.gz skin-lcarsng-aeb1dc8099631e4ce427e7e07997acf02c75c9cf.tar.bz2 |
Add volume bar to main menus
Diffstat (limited to 'displaymenu.h')
-rw-r--r-- | displaymenu.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/displaymenu.h b/displaymenu.h index 83b093c..1228adc 100644 --- a/displaymenu.h +++ b/displaymenu.h @@ -1,3 +1,5 @@ +#include "volumebox.h" + typedef struct { const cEvent *Event = NULL; const cTimer *Timer = NULL; @@ -112,7 +114,10 @@ private: cString lastHeader; int lastSeen; int Margin; + int lastVolume; + time_t lastVolumeTime; cDrawDescription *drawDescription; + cLCARSNGVolumeBox *volumeBox; static cBitmap bmArrowUp, bmArrowDown, bmTransferMode; void SetCoordinateY(int y); void DrawMainFrameUpper(tColor Color, tColor ColorBg); @@ -140,6 +145,7 @@ private: void DrawPlay(cControl *Control); void DrawInfo(const cEvent *Event, bool WithTime); void DrawSeen(int Current, int Total); + void DrawVolume(void); void DrawTextScrollbar(void); bool DrawProgressBar(int x, int y, int width, const char *text, tColor ColorFg, tColor ColorBg); public: |