mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 08:21:07 +02:00
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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user