From 4b1edb5a90c742aa7f34bf5910f9d75774011054 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Fri, 11 Jun 2021 15:56:45 +0200 Subject: Add fade-out to display tracks --- displaytracks.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'displaytracks.h') 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(); -- cgit v1.2.3