GUI: Allow engines to define a fully custom tab in the edit game dialog

By implementing MetaEngine::buildEngineOptionsWidget, engines can
instantiate a container widget that will be shown in the Engine tab of
the edit game dialog. The default implementation retains the existing
behavior and shows the extra GUI options.
This commit is contained in:
Bastien Bouclet 2020-03-22 15:19:56 +01:00
parent f6bb3af12a
commit bcfb7145fa
25 changed files with 300 additions and 67 deletions

View file

@ -358,6 +358,10 @@ void Dialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data) {
case kCloseCmd:
close();
break;
case kCloseWithResultCmd:
setResult(data);
close();
break;
default:
break;
}