diff options
author | Filippos Karapetis | 2012-03-25 18:51:23 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-03-25 18:51:23 +0300 |
commit | 346c1fe46120ef89348971a55b0181ca37d0582b (patch) | |
tree | 4a4738662fd65896494f991969baf79e60d58645 /gui | |
parent | 1170727977c4e497a866c937fef48e3d341f834e (diff) | |
download | scummvm-rg350-346c1fe46120ef89348971a55b0181ca37d0582b.tar.gz scummvm-rg350-346c1fe46120ef89348971a55b0181ca37d0582b.tar.bz2 scummvm-rg350-346c1fe46120ef89348971a55b0181ca37d0582b.zip |
GUI: Change the undithering checkbox to be an engine-specific option
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ThemeEngine.h | 2 | ||||
-rw-r--r-- | gui/options.cpp | 15 | ||||
-rw-r--r-- | gui/options.h | 1 | ||||
-rw-r--r-- | gui/themes/default.inc | 6 | ||||
-rw-r--r-- | gui/themes/scummclassic.zip | bin | 93228 -> 16501 bytes | |||
-rw-r--r-- | gui/themes/scummclassic/THEMERC | 2 | ||||
-rw-r--r-- | gui/themes/scummclassic/classic_layout.stx | 3 | ||||
-rw-r--r-- | gui/themes/scummclassic/classic_layout_lowres.stx | 3 | ||||
-rw-r--r-- | gui/themes/scummmodern.zip | bin | 1448902 -> 713957 bytes | |||
-rw-r--r-- | gui/themes/scummmodern/THEMERC | 2 | ||||
-rw-r--r-- | gui/themes/scummmodern/scummmodern_layout.stx | 3 | ||||
-rw-r--r-- | gui/themes/scummmodern/scummmodern_layout_lowres.stx | 3 |
12 files changed, 3 insertions, 37 deletions
diff --git a/gui/ThemeEngine.h b/gui/ThemeEngine.h index e26a584354..0495a85c88 100644 --- a/gui/ThemeEngine.h +++ b/gui/ThemeEngine.h @@ -35,7 +35,7 @@ #include "graphics/pixelformat.h" -#define SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.10" +#define SCUMMVM_THEME_VERSION_STR "SCUMMVM_STX0.8.11" class OSystem; diff --git a/gui/options.cpp b/gui/options.cpp index 9386e9811f..3f3ac73ca3 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -102,7 +102,6 @@ void OptionsDialog::init() { _renderModePopUpDesc = 0; _fullscreenCheckbox = 0; _aspectCheckbox = 0; - _disableDitheringCheckbox = 0; _enableAudioSettings = false; _midiPopUp = 0; _midiPopUpDesc = 0; @@ -217,14 +216,6 @@ void OptionsDialog::open() { } #endif // SMALL_SCREEN_DEVICE - // EGA undithering setting - if (_guioptions.contains(GUIO_EGAUNDITHER) || _domain == Common::ConfigManager::kApplicationDomain) { - _disableDitheringCheckbox->setEnabled(true); - _disableDitheringCheckbox->setState(ConfMan.getBool("disable_dithering", _domain)); - } else { - _disableDitheringCheckbox->setState(false); - _disableDitheringCheckbox->setEnabled(false); - } } // Audio options @@ -333,7 +324,6 @@ void OptionsDialog::close() { ConfMan.setBool("fullscreen", _fullscreenCheckbox->getState(), _domain); ConfMan.setBool("aspect_ratio", _aspectCheckbox->getState(), _domain); - ConfMan.setBool("disable_dithering", _disableDitheringCheckbox->getState(), _domain); bool isSet = false; @@ -617,10 +607,6 @@ void OptionsDialog::setGraphicSettingsState(bool enabled) { else _aspectCheckbox->setEnabled(enabled); #endif - if (_guioptions.contains(GUIO_EGAUNDITHER) && enabled) - _disableDitheringCheckbox->setEnabled(true); - else - _disableDitheringCheckbox->setEnabled(false); } void OptionsDialog::setAudioSettingsState(bool enabled) { @@ -769,7 +755,6 @@ void OptionsDialog::addGraphicControls(GuiObject *boss, const Common::String &pr // Aspect ratio checkbox _aspectCheckbox = new CheckboxWidget(boss, prefix + "grAspectCheckbox", _("Aspect ratio correction"), _("Correct aspect ratio for 320x200 games")); - _disableDitheringCheckbox = new CheckboxWidget(boss, prefix + "grDisableDitheringCheckbox", _("EGA undithering"), _("Enable undithering in EGA games that support it")); _enableGraphicSettings = true; } diff --git a/gui/options.h b/gui/options.h index 796e9fbd7c..def56cfa35 100644 --- a/gui/options.h +++ b/gui/options.h @@ -104,7 +104,6 @@ private: PopUpWidget *_gfxPopUp; CheckboxWidget *_fullscreenCheckbox; CheckboxWidget *_aspectCheckbox; - CheckboxWidget *_disableDitheringCheckbox; StaticTextWidget *_renderModePopUpDesc; PopUpWidget *_renderModePopUp; diff --git a/gui/themes/default.inc b/gui/themes/default.inc index c1047c0994..542f776dbd 100644 --- a/gui/themes/default.inc +++ b/gui/themes/default.inc @@ -782,9 +782,6 @@ "<widget name='grFullscreenCheckbox' " "type='Checkbox' " "/> " -"<widget name='grDisableDitheringCheckbox' " -"type='Checkbox' " -"/> " "</layout> " "</dialog> " "<dialog name='GlobalOptions_Audio' overlays='Dialog.GlobalOptions.TabWidget'> " @@ -1727,9 +1724,6 @@ "<widget name='grFullscreenCheckbox' " "type='Checkbox' " "/> " -"<widget name='grDisableDitheringCheckbox' " -"type='Checkbox' " -"/> " "</layout> " "</dialog> " "<dialog name='GlobalOptions_Audio' overlays='Dialog.GlobalOptions.TabWidget'> " diff --git a/gui/themes/scummclassic.zip b/gui/themes/scummclassic.zip Binary files differindex f60f3cb29e..cc4e025e43 100644 --- a/gui/themes/scummclassic.zip +++ b/gui/themes/scummclassic.zip diff --git a/gui/themes/scummclassic/THEMERC b/gui/themes/scummclassic/THEMERC index 68bdfde6fd..b808aee32f 100644 --- a/gui/themes/scummclassic/THEMERC +++ b/gui/themes/scummclassic/THEMERC @@ -1 +1 @@ -[SCUMMVM_STX0.8.10:ScummVM Classic Theme:No Author] +[SCUMMVM_STX0.8.11:ScummVM Classic Theme:No Author] diff --git a/gui/themes/scummclassic/classic_layout.stx b/gui/themes/scummclassic/classic_layout.stx index 0d8fe3150d..8717892995 100644 --- a/gui/themes/scummclassic/classic_layout.stx +++ b/gui/themes/scummclassic/classic_layout.stx @@ -217,9 +217,6 @@ <widget name = 'grFullscreenCheckbox' type = 'Checkbox' /> - <widget name = 'grDisableDitheringCheckbox' - type = 'Checkbox' - /> </layout> </dialog> diff --git a/gui/themes/scummclassic/classic_layout_lowres.stx b/gui/themes/scummclassic/classic_layout_lowres.stx index 4dc04f2705..8f5db9d364 100644 --- a/gui/themes/scummclassic/classic_layout_lowres.stx +++ b/gui/themes/scummclassic/classic_layout_lowres.stx @@ -216,9 +216,6 @@ <widget name = 'grFullscreenCheckbox' type = 'Checkbox' /> - <widget name = 'grDisableDitheringCheckbox' - type = 'Checkbox' - /> </layout> </dialog> diff --git a/gui/themes/scummmodern.zip b/gui/themes/scummmodern.zip Binary files differindex 6f16446070..5972135cab 100644 --- a/gui/themes/scummmodern.zip +++ b/gui/themes/scummmodern.zip diff --git a/gui/themes/scummmodern/THEMERC b/gui/themes/scummmodern/THEMERC index 734138998a..e6c441d543 100644 --- a/gui/themes/scummmodern/THEMERC +++ b/gui/themes/scummmodern/THEMERC @@ -1 +1 @@ -[SCUMMVM_STX0.8.10:ScummVM Modern Theme:No Author] +[SCUMMVM_STX0.8.11:ScummVM Modern Theme:No Author] diff --git a/gui/themes/scummmodern/scummmodern_layout.stx b/gui/themes/scummmodern/scummmodern_layout.stx index 676de964e2..087a844a1b 100644 --- a/gui/themes/scummmodern/scummmodern_layout.stx +++ b/gui/themes/scummmodern/scummmodern_layout.stx @@ -231,9 +231,6 @@ <widget name = 'grFullscreenCheckbox' type = 'Checkbox' /> - <widget name = 'grDisableDitheringCheckbox' - type = 'Checkbox' - /> </layout> </dialog> diff --git a/gui/themes/scummmodern/scummmodern_layout_lowres.stx b/gui/themes/scummmodern/scummmodern_layout_lowres.stx index 00ff440d44..987fee800a 100644 --- a/gui/themes/scummmodern/scummmodern_layout_lowres.stx +++ b/gui/themes/scummmodern/scummmodern_layout_lowres.stx @@ -214,9 +214,6 @@ <widget name = 'grFullscreenCheckbox' type = 'Checkbox' /> - <widget name = 'grDisableDitheringCheckbox' - type = 'Checkbox' - /> </layout> </dialog> |