From 387860213ea987ee192cdac3fc1b1d1a91057ceb Mon Sep 17 00:00:00 2001 From: Nicolas Bacca Date: Mon, 26 Jan 2004 07:36:47 +0000 Subject: Hide unnecessary options for CE in the main options dialog svn-id: r12604 --- gui/options.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gui') diff --git a/gui/options.cpp b/gui/options.cpp index 3479284ef5..06a93438c7 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -94,11 +94,13 @@ void OptionsDialog::open() { } } +#ifndef _WIN32_WCE // Fullscreen setting _fullscreenCheckbox->setState(ConfMan.getBool("fullscreen", _domain)); // Aspect ratio setting _aspectCheckbox->setState(ConfMan.getBool("aspect_ratio", _domain)); +#endif } if (_multiMidiCheckbox) { @@ -224,8 +226,10 @@ void OptionsDialog::setGraphicSettingsState(bool enabled) { _enableGraphicSettings = enabled; _gfxPopUp->setEnabled(enabled); +#ifndef _WIN32_WCE _fullscreenCheckbox->setEnabled(enabled); _aspectCheckbox->setEnabled(enabled); +#endif } void OptionsDialog::setAudioSettingsState(bool enabled) { @@ -271,6 +275,7 @@ int OptionsDialog::addGraphicControls(GuiObject *boss, int yoffset) { gm++; } +#ifndef _WIN32_WCE // Fullscreen checkbox _fullscreenCheckbox = new CheckboxWidget(boss, x, yoffset, w, 16, "Fullscreen mode"); yoffset += 16; @@ -278,6 +283,7 @@ int OptionsDialog::addGraphicControls(GuiObject *boss, int yoffset) { // Aspect ratio checkbox _aspectCheckbox = new CheckboxWidget(boss, x, yoffset, w, 16, "Aspect ratio correction"); yoffset += 16; +#endif _enableGraphicSettings = true; -- cgit v1.2.3