From c4a7ae1df83fdbd9a8d6a5b78377d8e75d2254be Mon Sep 17 00:00:00 2001 From: kamel5 Date: Fri, 18 Jun 2021 11:56:56 +0200 Subject: Add fade-out to display menu --- displaymenu.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'displaymenu.h') diff --git a/displaymenu.h b/displaymenu.h index dff7ae8..640e970 100644 --- a/displaymenu.h +++ b/displaymenu.h @@ -15,8 +15,9 @@ private: cNopacityDisplayMenuView *menuView; cNopacityDetailView *detailView; eMenuCategory menuCategoryLast; - int FrameTime; - int FadeTime; + int menuFadeTime = 0; + int menuFadeOutTime = 0; + bool fadeout; bool initial; bool diskUsageDrawn; int lastDiskUsageState; -- cgit v1.2.3