- infoclock: fix shadow color; use SHADOW_OFFSET definition

This commit is contained in:
svenhoefer
2016-10-10 14:19:54 +02:00
parent e8c77b6b7f
commit 340d4882bc

View File

@@ -54,13 +54,13 @@ void CInfoClock::initCCLockItems()
paint_bg = g_settings.infoClockBackground;
//use current theme colors
setColorAll(COL_FRAME_PLUS_0, COL_MENUCONTENT_PLUS_0, COL_MENUCONTENTDARK_PLUS_0);
setColorAll(COL_FRAME_PLUS_0, COL_MENUCONTENT_PLUS_0, COL_SHADOW_PLUS_0);
//set text color
if (paint_bg){
cl_col_text = COL_MENUCONTENT_TEXT;
setColorBody(COL_MENUCONTENT_PLUS_0);
enableShadow(CC_SHADOW_ON, 3);
enableShadow(CC_SHADOW_ON, SHADOW_OFFSET/2);
}else{
cl_col_text = COL_INFOCLOCK_TEXT;
setColorBody(COL_BACKGROUND_PLUS_0);