mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- glcd: fix rec/ts icon handling ...
Maybe it's a good idea to handle all the glcd-icons directly in glcd code. Signed-off-by: Thilo Graf <dbt@novatux.de>
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