SHERLOCK: RT: Fix Options dialog event handling

This commit is contained in:
Paul Gilbert 2015-07-24 21:47:05 -04:00
parent 58380d5661
commit 67d2bf8589
7 changed files with 82 additions and 34 deletions

View file

@ -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
};