mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 23:42:51 +02:00
lcd4linux: add display type
Origin commit data
------------------
Branch: ni/coolstream
Commit: 43892e34c2
Author: max_10 <max_10@gmx.de>
Date: 2018-09-10 (Mon, 10 Sep 2018)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -647,32 +647,43 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
|
||||
|
||||
std::string Layout;
|
||||
|
||||
std::string DISPLAY_Type;
|
||||
switch (g_settings.lcd4l_display_type) {
|
||||
case 1:
|
||||
DISPLAY_Type = "Samsung_";
|
||||
break;
|
||||
case 0:
|
||||
default:
|
||||
DISPLAY_Type = "Pearl_";
|
||||
break;
|
||||
}
|
||||
|
||||
if (ModeStandby)
|
||||
{
|
||||
Layout = "standby";
|
||||
Layout = DISPLAY_Type + "standby";
|
||||
}
|
||||
else if ((g_settings.lcd4l_skin_radio) && (m_Mode == NeutrinoModes::mode_radio || m_Mode == NeutrinoModes::mode_webradio))
|
||||
{
|
||||
Layout = "radio";
|
||||
Layout = DISPLAY_Type + "radio";
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (g_settings.lcd4l_skin)
|
||||
{
|
||||
case 4:
|
||||
Layout = "user";
|
||||
Layout = DISPLAY_Type + "user";
|
||||
break;
|
||||
case 3:
|
||||
Layout = "d-box2";
|
||||
Layout = DISPLAY_Type + "d-box2";
|
||||
break;
|
||||
case 2:
|
||||
Layout = "small";
|
||||
Layout = DISPLAY_Type + "small";
|
||||
break;
|
||||
case 1:
|
||||
Layout = "large";
|
||||
Layout = DISPLAY_Type + "large";
|
||||
break;
|
||||
default:
|
||||
Layout = "standard";
|
||||
Layout = DISPLAY_Type + "standard";
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user