GUI: Add a tab for backend-specific options
This commit is contained in:
parent
c80e1c6b49
commit
11724f9df1
25 changed files with 279 additions and 5 deletions
|
@ -327,6 +327,19 @@ ConfigDialog::ConfigDialog() :
|
|||
addKeyMapperControls(tab, "GlobalConfig_KeyMapper.", keymaps, gameDomain);
|
||||
}
|
||||
|
||||
//
|
||||
// The backend tab (shown only if the backend implements one)
|
||||
//
|
||||
int backendTabId = tab->addTab(_("Backend"), "GlobalConfig_Backend");
|
||||
|
||||
_backendOptions = g_system->buildBackendOptionsWidget(tab, "GlobalConfig_Backend.Container", _domain);
|
||||
|
||||
if (_backendOptions) {
|
||||
_backendOptions->setParentDialog(this);
|
||||
} else {
|
||||
tab->removeTab(backendTabId);
|
||||
}
|
||||
|
||||
//
|
||||
// The Achievements tab
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue