mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-15 17:33:37 +02:00
rc_lock: rework class; switch to singleton; add icon; vfd-support
Origin commit data
------------------
Commit: 2eb0aed5db
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-01-20 (Wed, 20 Jan 2016)
Origin message was:
------------------
- rc_lock: rework class; switch to singleton; add icon; vfd-support
This commit is contained in:
@@ -404,8 +404,18 @@ void CVFD::showTime(bool force)
|
||||
recstatus = tmp_recstatus;
|
||||
}
|
||||
|
||||
void CVFD::showRCLock(int /*duration*/)
|
||||
void CVFD::showRCLock(int duration)
|
||||
{
|
||||
if (!has_lcd)
|
||||
{
|
||||
sleep(duration);
|
||||
return;
|
||||
}
|
||||
|
||||
std::string _text = text;
|
||||
ShowText(g_Locale->getText(LOCALE_RCLOCK_LOCKED));
|
||||
sleep(duration);
|
||||
ShowText(_text.c_str());
|
||||
}
|
||||
|
||||
void CVFD::showVolume(const char vol, const bool force_update)
|
||||
|
Reference in New Issue
Block a user