mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
infoclock: fix shadow color; use SHADOW_OFFSET definition
Origin commit data
------------------
Commit: 340d4882bc
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-10 (Mon, 10 Oct 2016)
Origin message was:
------------------
- infoclock: fix shadow color; use SHADOW_OFFSET definition
This commit is contained in:
@@ -54,13 +54,13 @@ void CInfoClock::initCCLockItems()
|
|||||||
paint_bg = g_settings.infoClockBackground;
|
paint_bg = g_settings.infoClockBackground;
|
||||||
|
|
||||||
//use current theme colors
|
//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
|
//set text color
|
||||||
if (paint_bg){
|
if (paint_bg){
|
||||||
cl_col_text = COL_MENUCONTENT_TEXT;
|
cl_col_text = COL_MENUCONTENT_TEXT;
|
||||||
setColorBody(COL_MENUCONTENT_PLUS_0);
|
setColorBody(COL_MENUCONTENT_PLUS_0);
|
||||||
enableShadow(CC_SHADOW_ON, 3);
|
enableShadow(CC_SHADOW_ON, SHADOW_OFFSET/2);
|
||||||
}else{
|
}else{
|
||||||
cl_col_text = COL_INFOCLOCK_TEXT;
|
cl_col_text = COL_INFOCLOCK_TEXT;
|
||||||
setColorBody(COL_BACKGROUND_PLUS_0);
|
setColorBody(COL_BACKGROUND_PLUS_0);
|
||||||
|
Reference in New Issue
Block a user