mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
update glcd
Origin commit data
------------------
Commit: 0c2dcc9eb1
Author: redblue.pkt <redblue.pkt@orange.pl>
Date: 2020-06-19 (Fri, 19 Jun 2020)
This commit is contained in:
@@ -310,6 +310,16 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel)
|
||||
CCamManager::getInstance()->Start(channel->getChannelID(), CCamManager::RECORD);
|
||||
|
||||
//CVFD::getInstance()->ShowIcon(VFD_ICON_CAM1, true);
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
if (CRecordManager::getInstance()->GetRecordMode() == CRecordManager::RECMODE_REC)
|
||||
cGLCD::lockIcon(cGLCD::REC);
|
||||
else if (CRecordManager::getInstance()->GetRecordMode() == CRecordManager::RECMODE_TSHIFT)
|
||||
cGLCD::lockIcon(cGLCD::TS);
|
||||
else if (CRecordManager::getInstance()->GetRecordMode() == CRecordManager::RECMODE_REC_TSHIFT) {
|
||||
cGLCD::lockIcon(cGLCD::REC);
|
||||
cGLCD::lockIcon(cGLCD::TS);
|
||||
}
|
||||
#endif
|
||||
WaitRecMsg(msg_start_time, 2);
|
||||
hintBox.hide();
|
||||
return RECORD_OK;
|
||||
@@ -356,6 +366,9 @@ bool CRecordInstance::Stop(bool remove_event)
|
||||
recording_id = 0;
|
||||
}
|
||||
//CVFD::getInstance()->ShowIcon(VFD_ICON_CAM1, false);
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
cGLCD::unlockIcon(cGLCD::REC);
|
||||
#endif
|
||||
WaitRecMsg(end_time, 2);
|
||||
hintBox.hide();
|
||||
return true;
|
||||
@@ -1119,7 +1132,7 @@ bool CRecordManager::Record(const CTimerd::RecordingInfo * const eventinfo, cons
|
||||
recordingstatus = 1;
|
||||
#endif
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
nGLCD::Update();
|
||||
cGLCD::Update();
|
||||
#endif
|
||||
} else {
|
||||
delete inst;
|
||||
@@ -1326,7 +1339,7 @@ bool CRecordManager::Stop(const CTimerd::RecordingStopInfo * recinfo)
|
||||
StopInstance(inst, false);
|
||||
ret = true;
|
||||
#ifdef ENABLE_GRAPHLCD
|
||||
nGLCD::Update();
|
||||
cGLCD::Update();
|
||||
#endif
|
||||
} else {
|
||||
for(nextmap_iterator_t it = nextmap.begin(); it != nextmap.end(); it++) {
|
||||
|
Reference in New Issue
Block a user