diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-11 15:56:45 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-07-12 13:41:16 +0200 |
commit | 4b1edb5a90c742aa7f34bf5910f9d75774011054 (patch) | |
tree | e4163bd3bd8b602b32896ded43e33792c139bb1e /displaytracks.h | |
parent | 4358bf876579464772f98cc3aa43af345d127880 (diff) | |
download | skin-nopacity-4b1edb5a90c742aa7f34bf5910f9d75774011054.tar.gz skin-nopacity-4b1edb5a90c742aa7f34bf5910f9d75774011054.tar.bz2 |
Add fade-out to display tracks
Diffstat (limited to 'displaytracks.h')
-rw-r--r-- | displaytracks.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/displaytracks.h b/displaytracks.h index 79183b7..7d041fd 100644 --- a/displaytracks.h +++ b/displaytracks.h @@ -10,8 +10,7 @@ class cNopacityDisplayTracks : public cSkinDisplayTracks, cThread { private: cOsd *osd; - int FrameTime; - int FadeTime; + bool fadeout; int width, height; int menuItemWidth; int menuItemHeight; @@ -29,7 +28,7 @@ private: void SetGeometry(void); void CreatePixmaps(void); void DrawHeader(const char *Title); - void SetAlpha(int Alpha = 0); + void SetAlpha(int Alpha = 0, bool force = false); public: cNopacityDisplayTracks(const char *Title, int NumTracks, const char * const *Tracks); virtual ~cNopacityDisplayTracks(); |