Zaktualizuj 'examples/example_win32_directx11/main.cpp'

This commit is contained in:
Jerzy Kwiatkowski 2023-07-08 14:26:07 +02:00
parent 7be740c7d2
commit 560ec6c9b6

View File

@ -841,15 +841,17 @@ int main(int, char**)
ImGui::Checkbox("Pogrubianie", &thick); ImGui::Checkbox("Pogrubianie", &thick);
ImGui::Checkbox("Thining", &thining); ImGui::Checkbox("Thining", &thining);
ImGui::End(); ImGui::End();
ImGui::Begin("Filters"); ImGui::Begin("Basic Filters");
ImGui::Checkbox("Negative", &negative); ImGui::Checkbox("Negative", &negative);
ImGui::Checkbox("Sepia", &sepia); ImGui::Checkbox("Sepia", &sepia);
ImGui::Checkbox("Saturation", &saturation); ImGui::Checkbox("Saturation", &saturation);
ImGui::SameLine(); /*ImGui::SameLine();*/
ImGui::SliderFloat(" ", &scaleS, 0.f, 1.f); ImGui::SliderFloat(" ", &scaleS, 0.f, 1.f);
ImGui::Checkbox("Light", &light); ImGui::Checkbox("Light", &light);
ImGui::SameLine(); /*ImGui::SameLine();*/
ImGui::SliderFloat(" ", &scaleL, 0.f, 1.f); ImGui::SliderFloat(" ", &scaleL, 0.f, 1.f);
ImGui::End();
ImGui::Begin("Filters");
ImGui::Checkbox("Blure", &blure); ImGui::Checkbox("Blure", &blure);
ImGui::SameLine(); ImGui::SameLine();
ImGui::SliderFloat(" ", &sigma, 0.f, 10.f); ImGui::SliderFloat(" ", &sigma, 0.f, 10.f);