lcd4l_setup.cpp: add user to skin menu

This commit is contained in:
GetAway
2023-09-09 21:37:30 +02:00
parent e3baaa600f
commit e979c06535
2 changed files with 5 additions and 1 deletions

View File

@@ -920,6 +920,9 @@ void CLCD4l::ParseInfo(uint64_t parseID, bool newID, bool firstRun)
switch (g_settings.lcd4l_skin)
{
case 100:
Layout = DisplayType + "user" + eol;
break;
case 4:
Layout = DisplayType + "user04" + eol;
break;

View File

@@ -82,7 +82,8 @@ const CMenuOptionChooser::keyval LCD4L_SKIN_OPTIONS[] =
{ 1, LOCALE_LCD4L_SKIN_1 },
{ 2, LOCALE_LCD4L_SKIN_2 },
{ 3, LOCALE_LCD4L_SKIN_3 },
{ 4, LOCALE_LCD4L_SKIN_4 }
{ 4, LOCALE_LCD4L_SKIN_4 },
{ 100, LOCALE_LCD4L_SKIN_100 }
};
#define LCD4L_SKIN_OPTION_COUNT (sizeof(LCD4L_SKIN_OPTIONS)/sizeof(CMenuOptionChooser::keyval))