- osd_setup: introduce g_settings.window_size to scale some windows

* remove g_settings.big_windows
* add setup window (use up/down to change size)
This commit is contained in:
svenhoefer
2013-09-02 20:59:26 +02:00
parent b8ec3b55e6
commit 6ed30528f9
10 changed files with 112 additions and 36 deletions

View File

@@ -649,7 +649,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.screen_height = configfile.getInt32("screen_height", 0);
g_settings.bigFonts = configfile.getInt32("bigFonts", 0);
g_settings.big_windows = configfile.getInt32("big_windows", 1);
g_settings.window_size = configfile.getInt32("window_size", 100);
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);
@@ -1176,7 +1176,7 @@ void CNeutrinoApp::saveSetup(const char * fname)
}
configfile.setInt32("bigFonts", g_settings.bigFonts);
configfile.setInt32("big_windows", g_settings.big_windows);
configfile.setInt32("window_size", g_settings.window_size);
#ifdef BOXMODEL_APOLLO
configfile.setInt32("brightness", g_settings.brightness );
configfile.setInt32("contrast", g_settings.contrast );