mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
gui/infoclock.cpp: enable clock background paint, set background color depending on clock background option
Origin commit data
------------------
Branch: ni/coolstream
Commit: 5806167917
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -71,7 +71,13 @@ void CInfoClock::Init()
|
|||||||
else
|
else
|
||||||
setTextColor(COL_INFOCLOCK_TEXT);
|
setTextColor(COL_INFOCLOCK_TEXT);
|
||||||
|
|
||||||
paint_bg = g_settings.infoClockBackground;
|
paint_bg = true;
|
||||||
|
if (g_settings.infoClockBackground)
|
||||||
|
setColorBody(COL_MENUCONTENT_PLUS_0);
|
||||||
|
else
|
||||||
|
setColorBody(COL_BACKGROUND_PLUS_0);
|
||||||
|
|
||||||
|
setShadowOnOff(g_settings.infoClockBackground);
|
||||||
|
|
||||||
if (g_settings.infoClockSeconds)
|
if (g_settings.infoClockSeconds)
|
||||||
setClockFormat("%H:%M:%S");
|
setClockFormat("%H:%M:%S");
|
||||||
|
Reference in New Issue
Block a user