CScreenSaver: add class CScreenSaver

This commit is contained in:
defans
2014-12-29 21:06:18 +01:00
committed by svenhoefer
parent debd7138a0
commit 6a23a1c36a
7 changed files with 262 additions and 30 deletions

View File

@@ -496,6 +496,9 @@ int CNeutrinoApp::loadSetup(const char * fname)
g_settings.subs_charset = configfile.getString("subs_charset", "CP1252");
g_settings.zap_cycle = configfile.getInt32( "zap_cycle", 0 );
//screen saver
g_settings.screensaver_dir = configfile.getString("screensaver_dir", DATADIR "/neutrino/icons/");
//vcr
g_settings.vcr_AutoSwitch = configfile.getBool("vcr_AutoSwitch" , true );
@@ -1020,6 +1023,9 @@ void CNeutrinoApp::saveSetup(const char * fname)
}
configfile.setString("subs_charset", g_settings.subs_charset);
//screen saver
configfile.setString("screensaver_dir", g_settings.screensaver_dir);
//vcr
configfile.setBool("vcr_AutoSwitch" , g_settings.vcr_AutoSwitch );