From 55bdeb86224d3083551b4caff9438d00f7a47f18 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Fri, 25 Dec 2015 19:21:05 +0100 Subject: [PATCH] CInfoClock: remove shadow in transparent mode Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/0d05ca97432116ed45d18336aea596622175137b Author: Thilo Graf Date: 2015-12-25 (Fri, 25 Dec 2015) --- src/gui/infoclock.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/infoclock.cpp b/src/gui/infoclock.cpp index b41da69b4..bd28a7f21 100644 --- a/src/gui/infoclock.cpp +++ b/src/gui/infoclock.cpp @@ -60,9 +60,11 @@ void CInfoClock::initCCLockItems() if (paint_bg){ cl_col_text = COL_MENUCONTENT_TEXT; setColorBody(COL_MENUCONTENT_PLUS_0); + enableShadow(CC_SHADOW_ON, 3); }else{ cl_col_text = COL_INFOCLOCK_TEXT; setColorBody(COL_BACKGROUND_PLUS_0); + disableShadow(); } if (g_settings.infoClockSeconds)