InfoClock: Fix display clock in movie browser, file browser etc.

Origin commit data
------------------
Branch: ni/coolstream
Commit: 7466d6f19c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-22 (Fri, 22 Nov 2013)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2013-11-22 08:52:08 +01:00
parent 7f2097f657
commit a6137cadce
10 changed files with 57 additions and 40 deletions

View File

@@ -94,3 +94,19 @@ void CInfoClock::paint(bool do_save_bg)
//paint the clock
paintForm(do_save_bg);
}
bool CInfoClock::enableInfoClock(bool enable)
{
bool ret = false;
if (g_settings.mode_clock) {
if (enable) {
if (!paintClock)
ret = StartClock();
}
else {
if (paintClock)
ret = StopClock();
}
}
return ret;
}