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

Origin commit data
------------------
Commit: 7466d6f19c
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-11-22 (Fri, 22 Nov 2013)
This commit is contained in:
Michael Liebmann
2013-11-22 08:52:08 +01:00
parent db1a003584
commit c6eeb420d4
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;
}