diff options
-rw-r--r-- | engines/dialogs.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/engines/dialogs.cpp b/engines/dialogs.cpp index cb081e4683..6b0f4d3b39 100644 --- a/engines/dialogs.cpp +++ b/engines/dialogs.cpp @@ -36,6 +36,7 @@ #include "gui/GuiManager.h" #include "gui/launcher.h" #include "gui/ListWidget.h" +#include "gui/message.h" #include "gui/options.h" #include "gui/saveload.h" #include "gui/ThemeEval.h" @@ -102,7 +103,6 @@ MainMenuDialog::MainMenuDialog(Engine *engine) // To enable "Help", an engine needs to use a subclass of MainMenuDialog // (at least for now, we might change how this works in the future). _helpButton = new GUI::ButtonWidget(this, "GlobalMenu.Help", _("~H~elp"), 0, kHelpCmd); - _helpButton->setEnabled(false); new GUI::ButtonWidget(this, "GlobalMenu.About", _("~A~bout"), 0, kAboutCmd); @@ -147,8 +147,13 @@ void MainMenuDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 dat case kAboutCmd: _aboutDialog->runModal(); break; - case kHelpCmd: - // Not handled here -- needs to be handled by a subclass (for now) + case kHelpCmd: { + GUI::MessageDialog dialog( + "Sorry, this engine does not currently provide in-game help. " + "Please consult the README for basic information, and for " + "instructions on how to obtain further assistance."); + dialog.runModal(); + } break; case kRTLCmd: { Common::Event eventRTL; |