Add developer setting "Show on screen messages". Uncheck to hide them.

Fixes #13682.

Might move to system settings or something next release, don't want to
cause a mess in translations.
This commit is contained in:
Henrik Rydgård committed 2020-11-22 19:08:14 +01:00
1 parent ecb1c46574
commit 1640a39de8
5 files changed
+10 -3

No files matched your search

+1
View File
@@ -1650,6 +1650,7 @@ void DeveloperToolsScreen::CreateViews() {
list->Add(allowDebugger)->OnClick.Handle(this, &DeveloperToolsScreen::OnRemoteDebugger);
allowDebugger->SetEnabledPtr(&canAllowDebugger_);
list->Add(new CheckBox(&g_Config.bShowOnScreenMessages, dev->T("Show on-screen messages")));
list->Add(new CheckBox(&g_Config.bEnableLogging, dev->T("Enable Logging")))->OnClick.Handle(this, &DeveloperToolsScreen::OnLoggingChanged);
list->Add(new CheckBox(&g_Config.bLogFrameDrops, dev->T("Log Dropped Frame Statistics")));
list->Add(new Choice(dev->T("Logging Channels")))->OnClick.Handle(this, &DeveloperToolsScreen::OnLogConfig);