diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-06-06 14:59:51 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2021-07-12 13:53:53 +0200 |
commit | bde0fc5d1f2766c7376511a629b8667248242db1 (patch) | |
tree | db6f1504a6688213f9cea6724df9083bf19bcfac /displaymenu.h | |
parent | 0d8dc799b8ffc13784ca80a62deae6b53cc655bc (diff) | |
download | skin-nopacity-bde0fc5d1f2766c7376511a629b8667248242db1.tar.gz skin-nopacity-bde0fc5d1f2766c7376511a629b8667248242db1.tar.bz2 |
Optimize Flush in display menu
These changes ensures that only one flush is active when the fade-in thread
is running.
The first Pixmap::Lock() in cNopacityDisplayMenu::Action() takes so much longer
than the following, Thats why the first Pixmap::Lock() was moved before the while
loop. This makes the fade-in softer.
The DetailView thread was eliminated.
Diffstat (limited to 'displaymenu.h')
-rw-r--r-- | displaymenu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/displaymenu.h b/displaymenu.h index 890ffa5..dff7ae8 100644 --- a/displaymenu.h +++ b/displaymenu.h @@ -34,6 +34,7 @@ private: void DrawTimers(bool timersChanged, int numConflicts); void SplitItem(const char *Text, cString *strItems, int *tabItems); void SetButtonPositions(void); + void SetAlpha(int Alpha = 0, bool force = false); virtual void Action(void); protected: int Tab(int n); |