Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transparency issues when using GLFW based on vulkan with reference to #3813 #6203

Closed
wxmeng04 opened this issue Feb 27, 2023 · 1 comment
Closed

Comments

@wxmeng04
Copy link

wxmeng04 commented Feb 27, 2023

When I use glfw based on vulkan, I have the similar problem with the one issued on #3813. I'm not exepecting to use transparant window but it's default in the example code. Is it possible to disable or enable it as needed once calling ImGui::Begin()?

@wxmeng04
Copy link
Author

already solved. See below.

    ImGui::StyleColorsClassic();
    ImGui::GetStyle().Colors[ImGuiCol_WindowBg] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f);
    ImGui::GetStyle().Colors[ImGuiCol_TitleBg] = ImVec4(0.27f, 0.27f, 0.54f, 1.00f);
    ImGui::GetStyle().Colors[ImGuiCol_TitleBgActive] = ImVec4(0.32f, 0.32f, 0.63f, 1.00f);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant