pick graphlcd support from DDT but include it in another way

Origin commit data
------------------
Branch: ni/coolstream
Commit: 3093f50831
Author: vanhofen <vanhofen@gmx.de>
Date: 2019-10-26 (Sat, 26 Oct 2019)

Origin message was:
------------------
- pick graphlcd support from DDT but include it in another way

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2019-10-26 22:37:38 +02:00
parent 4b9353cce7
commit c5522016e3
27 changed files with 1827 additions and 39 deletions

View File

@@ -86,7 +86,6 @@
#include <eitd/sectionsd.h>
//NI lcd4l-support
#include "driver/lcd4l.h"
extern CLCD4l *LCD4l;
@@ -967,7 +966,9 @@ int CChannelList::show()
if (edit_state)
editMode(false);
//NI lcd4l-support
#ifdef ENABLE_GRAPHLCD
nGLCD::unlockChannel();
#endif
LCD4l->RemoveFile("/tmp/lcd/menu");
if(!dont_hide){
@@ -2248,7 +2249,10 @@ void CChannelList::updateVfd()
} else
CVFD::getInstance()->showMenuText(0, chan->getName().c_str(), -1, true); // UTF-8
//NI lcd4l-support
#ifdef ENABLE_GRAPHLCD
if(g_settings.glcd_enable)
nGLCD::lockChannel(g_Locale->getText(LOCALE_BOUQUETLIST_HEAD), chan->getName().c_str(), 0);
#endif
if (g_settings.lcd4l_support)
LCD4l->CreateFile("/tmp/lcd/menu", chan->getName().c_str(), g_settings.lcd4l_convert);
}