mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
neutrino.cpp: add window width/height settings
This commit is contained in:
@@ -661,6 +661,8 @@ int CNeutrinoApp::loadSetup(const char * fname)
|
|||||||
|
|
||||||
g_settings.bigFonts = configfile.getInt32("bigFonts", 0);
|
g_settings.bigFonts = configfile.getInt32("bigFonts", 0);
|
||||||
g_settings.window_size = configfile.getInt32("window_size", 100);
|
g_settings.window_size = configfile.getInt32("window_size", 100);
|
||||||
|
g_settings.window_width = configfile.getInt32("window_width", g_settings.window_size);
|
||||||
|
g_settings.window_height = configfile.getInt32("window_height", g_settings.window_size);
|
||||||
|
|
||||||
g_settings.remote_control_hardware = configfile.getInt32( "remote_control_hardware", CRCInput::RC_HW_COOLSTREAM);
|
g_settings.remote_control_hardware = configfile.getInt32( "remote_control_hardware", CRCInput::RC_HW_COOLSTREAM);
|
||||||
g_settings.audiochannel_up_down_enable = configfile.getBool("audiochannel_up_down_enable", false);
|
g_settings.audiochannel_up_down_enable = configfile.getBool("audiochannel_up_down_enable", false);
|
||||||
@@ -1201,6 +1203,8 @@ void CNeutrinoApp::saveSetup(const char * fname)
|
|||||||
|
|
||||||
configfile.setInt32("bigFonts", g_settings.bigFonts);
|
configfile.setInt32("bigFonts", g_settings.bigFonts);
|
||||||
configfile.setInt32("window_size", g_settings.window_size);
|
configfile.setInt32("window_size", g_settings.window_size);
|
||||||
|
configfile.setInt32("window_width", g_settings.window_width);
|
||||||
|
configfile.setInt32("window_height", g_settings.window_height);
|
||||||
#ifdef BOXMODEL_APOLLO
|
#ifdef BOXMODEL_APOLLO
|
||||||
configfile.setInt32("brightness", g_settings.brightness );
|
configfile.setInt32("brightness", g_settings.brightness );
|
||||||
configfile.setInt32("contrast", g_settings.contrast );
|
configfile.setInt32("contrast", g_settings.contrast );
|
||||||
|
@@ -442,6 +442,8 @@ struct SNeutrinoSettings
|
|||||||
int pip_y;
|
int pip_y;
|
||||||
int bigFonts;
|
int bigFonts;
|
||||||
int window_size;
|
int window_size;
|
||||||
|
int window_width;
|
||||||
|
int window_height;
|
||||||
int eventlist_additional;
|
int eventlist_additional;
|
||||||
int channellist_additional;
|
int channellist_additional;
|
||||||
int channellist_epgtext_align_right;
|
int channellist_epgtext_align_right;
|
||||||
|
Reference in New Issue
Block a user