diff -r edf18b880beb -r 91bf5e3e558d QTfrontend/gameuiconfig.cpp --- a/QTfrontend/gameuiconfig.cpp Thu Aug 07 12:09:52 2008 +0000 +++ b/QTfrontend/gameuiconfig.cpp Thu Aug 07 13:30:09 2008 +0000 @@ -38,6 +38,8 @@ int t = Form->ui.pageOptions->CBResolution->findText(value("video/resolution").toString()); Form->ui.pageOptions->CBResolution->setCurrentIndex((t < 0) ? 0 : t); Form->ui.pageOptions->CBFullscreen->setChecked(value("video/fullscreen", false).toBool()); + bool ffscr=value("video/frontendfullscreen", false).toBool(); + Form->ui.pageOptions->CBFrontendFullscreen->setChecked(ffscr); Form->ui.pageOptions->CBEnableSound->setChecked(value("audio/sound", true).toBool()); Form->ui.pageOptions->CBEnableMusic->setChecked(value("audio/music", true).toBool()); @@ -76,6 +78,9 @@ { setValue("video/resolution", Form->ui.pageOptions->CBResolution->currentText()); setValue("video/fullscreen", vid_Fullscreen()); + bool ffscr=isFrontendFullscreen(); + setValue("video/frontendfullscreen", ffscr); + emit frontendFullscreen(ffscr); setValue("audio/sound", isSoundEnabled()); setValue("audio/music", isMusicEnabled()); @@ -112,6 +117,11 @@ return Form->ui.pageOptions->CBFullscreen->isChecked(); } +bool GameUIConfig::isFrontendFullscreen() const +{ + return Form->ui.pageOptions->CBFrontendFullscreen->isChecked(); +} + bool GameUIConfig::isSoundEnabled() { return Form->ui.pageOptions->CBEnableSound->isChecked();