mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 07:51:11 +02:00
glcd: fix rec/ts icon handling ...
Maybe it's a good idea to handle all the glcd-icons directly in glcd code.
Origin commit data
------------------
Branch: ni/coolstream
Commit: fa290c0882
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-07-02 (Thu, 02 Jul 2020)
Origin message was:
------------------
- glcd: fix rec/ts icon handling ...
Maybe it's a good idea to handle all the glcd-icons directly in glcd code.
------------------
This commit was generated by Migit
This commit is contained in:
@@ -300,6 +300,24 @@ void cGLCD::Exec()
|
||||
;
|
||||
}
|
||||
|
||||
switch (CRecordManager::getInstance()->GetRecordMode())
|
||||
{
|
||||
case CRecordManager::RECMODE_REC_TSHIFT:
|
||||
recLocked = true;
|
||||
tsLocked = true;
|
||||
break;
|
||||
case CRecordManager::RECMODE_REC:
|
||||
recLocked = true;
|
||||
break;
|
||||
case CRecordManager::RECMODE_TSHIFT:
|
||||
tsLocked = true;
|
||||
break;
|
||||
default:
|
||||
recLocked = false;
|
||||
tsLocked = false;
|
||||
break;
|
||||
}
|
||||
|
||||
int icon_start_width = 0, icon_start_height = 0;
|
||||
g_PicViewer->getSize(Logo.c_str(), &icon_start_width, &icon_start_height);
|
||||
|
||||
|
Reference in New Issue
Block a user