gui-wx: Fix OsdShowFrameTimes default config.

This commit is contained in:
lightningterror 2022-12-05 23:00:33 +01:00
parent 6ce75453fe
commit bdb1fd517b
2 changed files with 12 additions and 11 deletions

View File

@ -1471,6 +1471,7 @@ void GSApp::Init()
m_default_configuration["OsdShowIndicators"] = "1";
m_default_configuration["OsdShowSettings"] = "0";
m_default_configuration["OsdShowInputs"] = "0";
m_default_configuration["OsdShowFrameTimes"] = "0";
m_default_configuration["OsdScale"] = "100";
m_default_configuration["override_GL_ARB_copy_image"] = "-1";
m_default_configuration["override_GL_ARB_clip_control"] = "-1";

View File

@ -533,7 +533,7 @@ OSDTab::OSDTab(wxWindow* parent)
auto* font_grid = new wxFlexGridSizer(2, space, space);
font_grid->AddGrowableCol(1);
m_ui.addSliderAndLabel(font_grid, "Scale:", "OsdScale", 50, 300, 100, -1);
m_ui.addSliderAndLabel(font_grid, "OSD Scale:", "OsdScale", 50, 300, 100, -1);
font_box->Add(font_grid, wxSizerFlags().Expand());
tab_box->Add(font_box.outer, wxSizerFlags().Expand());
@ -542,16 +542,16 @@ OSDTab::OSDTab(wxWindow* parent)
auto* log_grid = new wxFlexGridSizer(2, space, space);
log_grid->AddGrowableCol(1);
m_ui.addCheckBox(log_grid, "Show Messages", "OsdShowMessages", -1);
m_ui.addCheckBox(log_grid, "Show Speed", "OsdShowSpeed", -1);
m_ui.addCheckBox(log_grid, "Show FPS", "OsdShowFPS", -1);
m_ui.addCheckBox(log_grid, "Show CPU Usage", "OsdShowCPU", -1);
m_ui.addCheckBox(log_grid, "Show GPU Usage", "OsdShowGPU", -1);
m_ui.addCheckBox(log_grid, "Show Resolution", "OsdShowResolution", -1);
m_ui.addCheckBox(log_grid, "Show Statistics", "OsdShowGSStats", -1);
m_ui.addCheckBox(log_grid, "Show Indicators", "OsdShowIndicators", -1);
m_ui.addCheckBox(log_grid, "Show Settings", "OsdShowSettings", -1);
m_ui.addCheckBox(log_grid, "Show Inputs", "OsdShowInputs", -1);
m_ui.addCheckBox(log_grid, "Show Notifications", "OsdShowMessages", -1);
m_ui.addCheckBox(log_grid, "Show Speed", "OsdShowSpeed", -1);
m_ui.addCheckBox(log_grid, "Show FPS", "OsdShowFPS", -1);
m_ui.addCheckBox(log_grid, "Show CPU Usage", "OsdShowCPU", -1);
m_ui.addCheckBox(log_grid, "Show GPU Usage", "OsdShowGPU", -1);
m_ui.addCheckBox(log_grid, "Show Resolution", "OsdShowResolution", -1);
m_ui.addCheckBox(log_grid, "Show Statistics", "OsdShowGSStats", -1);
m_ui.addCheckBox(log_grid, "Show Indicators", "OsdShowIndicators", -1);
m_ui.addCheckBox(log_grid, "Show Settings", "OsdShowSettings", -1);
m_ui.addCheckBox(log_grid, "Show Inputs", "OsdShowInputs", -1);
log_box->Add(log_grid, wxSizerFlags().Expand());
tab_box->Add(log_box.outer, wxSizerFlags().Expand());