summaryrefslogtreecommitdiff
path: root/displayreplay.h
diff options
context:
space:
mode:
authorkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-06-11 11:08:08 +0200
committerkamel5 <vdr.kamel5 (at) gmx (dot) net>2021-07-12 13:27:10 +0200
commit32affb0a183db7fad828b2f262896a8b15d24cd0 (patch)
tree7f42105a1abf9731db0191d512f7850f78876cf2 /displayreplay.h
parent274750d5fb676361f65a4037129bc6f8017c38e7 (diff)
downloadskin-nopacity-32affb0a183db7fad828b2f262896a8b15d24cd0.tar.gz
skin-nopacity-32affb0a183db7fad828b2f262896a8b15d24cd0.tar.bz2
Optimize Flush in display replay
Changes in Flush(): This ensures that only one flush is active when the thread is running. Changes in Acton(): Since the first Pixmap::Lock() takes so much longer than the following, the first Pixmap::Lock() was moved before the while loop. This makes the fade-in softer. Add cNopacityDisplayReplay::SetAlpha() for simplification.
Diffstat (limited to 'displayreplay.h')
-rw-r--r--displayreplay.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/displayreplay.h b/displayreplay.h
index bbedabf..12e2a4d 100644
--- a/displayreplay.h
+++ b/displayreplay.h
@@ -34,6 +34,7 @@ private:
virtual void Action(void);
void createOSD(void);
void CreatePixmaps(void);
+ void SetAlpha(int Alpha = 0);
void DrawBackground(void);
void DrawDate(void);
void LoadControlIcons(void);