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:
parent
f6bb3af12a
commit
bcfb7145fa
25 changed files with 300 additions and 67 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue