aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorNicolas Bacca2004-01-26 07:36:47 +0000
committerNicolas Bacca2004-01-26 07:36:47 +0000
commit387860213ea987ee192cdac3fc1b1d1a91057ceb (patch)
tree80422d89e84287fd8906c372a616e4e0c69960ac /gui
parentbb3a9e4cb308c8353f77b424445b5df23040340a (diff)
downloadscummvm-rg350-387860213ea987ee192cdac3fc1b1d1a91057ceb.tar.gz
scummvm-rg350-387860213ea987ee192cdac3fc1b1d1a91057ceb.tar.bz2
scummvm-rg350-387860213ea987ee192cdac3fc1b1d1a91057ceb.zip
Hide unnecessary options for CE in the main options dialog
svn-id: r12604
Diffstat (limited to 'gui')
-rw-r--r--gui/options.cpp6
1 files changed, 6 insertions, 0 deletions
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;