add some preliminary resolution data to video settings (will need to query monitors in the future)
This commit is contained in:
parent
f50fbfd166
commit
dd1c5b4342
4 changed files with 48 additions and 2 deletions
|
|
@ -26,6 +26,24 @@ OBSBasicSettings::OBSBasicSettings(wxWindow *parent)
|
|||
|
||||
void OBSBasicSettings::PageChanged(wxListbookEvent &event)
|
||||
{
|
||||
wxWindow *curPage = settingsList->GetCurrentPage();
|
||||
if (!curPage)
|
||||
return;
|
||||
|
||||
int id = curPage->GetId();
|
||||
|
||||
BasicSettingsData *ptr = NULL;
|
||||
|
||||
switch (id) {
|
||||
case ID_SETTINGS_GENERAL:
|
||||
ptr = CreateBasicGeneralSettings(this);
|
||||
break;
|
||||
case ID_SETTINGS_VIDEO:
|
||||
ptr = CreateBasicVideoSettings(this);
|
||||
break;
|
||||
}
|
||||
|
||||
settings = move(unique_ptr<BasicSettingsData>(ptr));
|
||||
}
|
||||
|
||||
void OBSBasicSettings::PageChanging(wxListbookEvent &event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue