mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 17:01:15 +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.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.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("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
|
||||
configfile.setInt32("brightness", g_settings.brightness );
|
||||
configfile.setInt32("contrast", g_settings.contrast );
|
||||
|
Reference in New Issue
Block a user