mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
gui/timeosd.cpp: enable clock background paint,
set background color depending on clock background option;
fix colors in case theme color changed
Origin commit data
------------------
Branch: ni/coolstream
Commit: ea1c533ef9
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2015-03-06 (Fri, 06 Mar 2015)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -100,6 +100,17 @@ void CTimeOSD::show(time_t time_show, bool force)
|
||||
if (!force && (m_mode == MODE_HIDE || m_time_show == time_show))
|
||||
return;
|
||||
m_time_show = time_show;
|
||||
|
||||
syncSysColors();
|
||||
|
||||
paint_bg = true;
|
||||
if (g_settings.infoClockBackground)
|
||||
setColorBody(COL_MENUCONTENT_PLUS_0);
|
||||
else
|
||||
setColorBody(COL_BACKGROUND_PLUS_0);
|
||||
|
||||
setShadowOnOff(g_settings.infoClockBackground);
|
||||
|
||||
paint(false);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user