aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Bacca2002-08-04 11:01:16 +0000
committerNicolas Bacca2002-08-04 11:01:16 +0000
commitc0c306c39e78f1550002cdaae3ad14c56ca9990e (patch)
tree7d9332e88e213e4a08a923e54f57905fb87da7e6
parent8779d00789258b1cf90be703540efd62aa50dd1d (diff)
downloadscummvm-rg350-c0c306c39e78f1550002cdaae3ad14c56ca9990e.tar.gz
scummvm-rg350-c0c306c39e78f1550002cdaae3ad14c56ca9990e.tar.bz2
scummvm-rg350-c0c306c39e78f1550002cdaae3ad14c56ca9990e.zip
Only displays the Keys option for WinCE
svn-id: r4696
-rw-r--r--gui.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/gui.cpp b/gui.cpp
index 2693d6634f..306cecd5ba 100644
--- a/gui.cpp
+++ b/gui.cpp
@@ -197,12 +197,21 @@ const GuiWidget about_dialog[] = {
};
const GuiWidget options_dialog[] = {
+ // Only display the "Keys" options for WinCE
+#ifdef _WIN32_WCE
{GUI_STAT, 0xFF, GWF_DEFAULT, 50, 80, 210, 60, 0, 0},
{GUI_CUSTOMTEXT, 0x01, GWF_BUTTON, 50 + 10, 80 + 10, 40, 15, 1, 5, 'S'}, // Sound
{GUI_CUSTOMTEXT, 0x01, GWF_BUTTON, 50 + 10 + 40 + 30, 80 + 10, 40, 15, 2, 6, 'K'}, // Keys
{GUI_CUSTOMTEXT, 0x01, GWF_BUTTON, 50 + 10 + 40 + 30 + 40 + 30, 80 + 10, 40, 15, 3, 7, 'A'}, // About
{GUI_CUSTOMTEXT, 0x01, GWF_BUTTON, 50 + 10, 80 + 10 + 15 + 10, 40, 15, 4, 18, 'M'}, // Misc
{0, 0, 0, 0, 0, 0, 0, 0, 0}
+#else
+ {GUI_STAT, 0xFF, GWF_DEFAULT, 50, 80, 210, 40, 0, 0},
+ {GUI_CUSTOMTEXT, 0x01, GWF_BUTTON, 50 + 10, 80 + 10, 40, 15, 1, 5, 'S'}, // Sound
+ {GUI_CUSTOMTEXT, 0x01, GWF_BUTTON, 50 + 10 + 40 + 30, 80 + 10, 40, 15, 3, 7, 'A'}, // About
+ {GUI_CUSTOMTEXT, 0x01, GWF_BUTTON, 50 + 10 + 40 + 30 + 40 + 30, 80 + 10, 40, 15, 4, 18, 'M'}, // Misc
+ {0, 0, 0, 0, 0, 0, 0, 0, 0}
+#endif
};
const GuiWidget misc_dialog[] = {