channellist: allow to show resolution icons

Origin commit data
------------------
Commit: 114bc9f4be
Author: vanhofen <vanhofen@gmx.de>
Date: 2018-06-24 (Sun, 24 Jun 2018)

Origin message was:
------------------
- channellist: allow to show resolution icons
This commit is contained in:
vanhofen
2018-06-24 23:07:02 +02:00
parent 79bc605da9
commit 6f602ab526
13 changed files with 44 additions and 0 deletions

View File

@@ -807,6 +807,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.channellist_show_channellogo = configfile.getInt32("channellist_show_channellogo", 1);
g_settings.channellist_show_infobox = configfile.getInt32("channellist_show_infobox", 1);
g_settings.channellist_show_numbers = configfile.getInt32("channellist_show_numbers", 1);
g_settings.channellist_show_res_icon = configfile.getInt32("channellist_show_res_icon", 0);
//screen configuration
g_settings.osd_resolution = (osd_resolution_tmp == -1) ? configfile.getInt32("osd_resolution", 0) : osd_resolution_tmp;
@@ -1588,6 +1589,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
configfile.setInt32("channellist_show_channellogo", g_settings.channellist_show_channellogo);
configfile.setInt32("channellist_show_infobox", g_settings.channellist_show_infobox);
configfile.setInt32("channellist_show_numbers", g_settings.channellist_show_numbers);
configfile.setInt32("channellist_show_res_icon", g_settings.channellist_show_res_icon);
//screen configuration
configfile.setInt32("osd_resolution" , COsdHelpers::getInstance()->g_settings_osd_resolution_save);