aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/detection.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-24 21:47:05 -0400
committerPaul Gilbert2015-07-24 21:47:05 -0400
commit67d2bf85893e6672374fe41530310c7c894a64ee (patch)
tree8952e584429800a3256fb3acaf89892bdaee6915 /engines/sherlock/detection.cpp
parent58380d5661cce68823859e83ca9e55ebff0221b3 (diff)
downloadscummvm-rg350-67d2bf85893e6672374fe41530310c7c894a64ee.tar.gz
scummvm-rg350-67d2bf85893e6672374fe41530310c7c894a64ee.tar.bz2
scummvm-rg350-67d2bf85893e6672374fe41530310c7c894a64ee.zip
SHERLOCK: RT: Fix Options dialog event handling
Diffstat (limited to 'engines/sherlock/detection.cpp')
-rw-r--r--engines/sherlock/detection.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/engines/sherlock/detection.cpp b/engines/sherlock/detection.cpp
index 35a810efb1..b60facb86d 100644
--- a/engines/sherlock/detection.cpp
+++ b/engines/sherlock/detection.cpp
@@ -62,6 +62,8 @@ static const PlainGameDescriptor sherlockGames[] = {
#define GAMEOPTION_HELP_STYLE GUIO_GAMEOPTIONS3
#define GAMEOPTION_PORTRAITS_ON GUIO_GAMEOPTIONS4
#define GAMEOPTION_WINDOW_STYLE GUIO_GAMEOPTIONS5
+#define GAMEOPTION_TRANSPARENT_WINDOWS GUIO_GAMEOPTIONS6
+#define GAMEOPTION_TEXT_WINDOWS GUIO_GAMEOPTIONS7
static const ADExtraGuiOptionsMap optionsList[] = {
{
@@ -114,6 +116,26 @@ static const ADExtraGuiOptionsMap optionsList[] = {
}
},
+ {
+ GAMEOPTION_TRANSPARENT_WINDOWS,
+ {
+ _s("Transparent windows"),
+ _s("Show windows with a partially transparent background"),
+ "transparent_windows",
+ true
+ }
+ },
+
+ {
+ GAMEOPTION_TEXT_WINDOWS,
+ {
+ _s("Text windows"),
+ _s("Show text windows during conversations"),
+ "text_windows",
+ true
+ }
+ },
+
AD_EXTRA_GUI_OPTIONS_TERMINATOR
};