mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
InfoClock: Fix display clock in movie browser, file browser etc.
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