QTfrontend/gameuiconfig.cpp
changeset 2098 c977d7f2aa09
parent 1812 3d4692e825e7
child 2099 e70e7ce4fb0f
--- a/QTfrontend/gameuiconfig.cpp	Sat May 23 21:24:43 2009 +0000
+++ b/QTfrontend/gameuiconfig.cpp	Sun May 24 02:41:34 2009 +0000
@@ -45,6 +45,7 @@
 	Form->ui.pageOptions->CBFrontendFullscreen->setChecked(ffscr);
 
 	Form->ui.pageOptions->CBReduceQuality->setChecked(value("video/reducequality", false).toBool());
+	Form->ui.pageOptions->CBFrontendEffects->setChecked(value("video/frontendeffects", true).toBool());
 	Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool());
 	Form->ui.pageOptions->CBEnableMusic->setChecked(value("audio/music", true).toBool());
 	Form->ui.pageOptions->volumeBox->setValue(value("audio/volume", 100).toUInt());
@@ -92,6 +93,8 @@
 
 	setValue("video/reducequality", isReducedQuality());
 
+	setValue("video/frontendeffects", isFrontendEffects());
+
 	bool ffscr=isFrontendFullscreen();
 	setValue("video/frontendfullscreen", ffscr);
 	emit frontendFullscreen(ffscr);
@@ -140,6 +143,10 @@
 {
   return Form->ui.pageOptions->CBReduceQuality->isChecked();
 }
+bool GameUIConfig::isFrontendEffects() const
+{
+  return Form->ui.pageOptions->CBFrontendEffects->isChecked();
+}
 
 bool GameUIConfig::isFrontendFullscreen() const
 {