Rename Postprocessing shader to Postprocessing shaders. Make low-effort attempt at updating

This commit is contained in:
Henrik Rydgård
2022-12-07 12:09:06 +01:00
parent 6ee5382e86
commit ed7f3d69a7
44 changed files with 54 additions and 50 deletions
+5 -1
View File
@@ -289,7 +289,11 @@ void DisplayLayoutScreen::CreateViews() {
shaderRow->SetSpacing(4.0f);
leftColumn->Add(shaderRow);
postProcChoice_ = shaderRow->Add(new ChoiceWithValueDisplay(&shaderNames_[i], "", &PostShaderTranslateName, new LinearLayoutParams(1.0f)));
if (shaderNames_[i] != "Off") {
postProcChoice_ = shaderRow->Add(new ChoiceWithValueDisplay(&shaderNames_[i], "", &PostShaderTranslateName, new LinearLayoutParams(1.0f)));
} else {
postProcChoice_ = shaderRow->Add(new Choice(ImageID("I_PLUS")));
}
postProcChoice_->OnClick.Add([=](EventParams &e) {
auto gr = GetI18NCategory("Graphics");
auto procScreen = new PostProcScreen(gr->T("Postprocessing shaders"), i, false);