[imgui] Clean implementation of rounded edges
This commit is contained in:
committed by
Radosław Gliński
parent
464e9a1645
commit
fbad66e5bc
@@ -142,9 +142,11 @@ void ImGuiDrawer::Initialize() {
|
||||
InitializeFonts();
|
||||
|
||||
auto& style = ImGui::GetStyle();
|
||||
style.ScrollbarRounding = 0;
|
||||
style.WindowRounding = 0;
|
||||
style.TabRounding = 0;
|
||||
style.ScrollbarRounding = 6.0f;
|
||||
style.WindowRounding = 6.0f;
|
||||
style.PopupRounding = 6.0f;
|
||||
style.TabRounding = 6.0f;
|
||||
|
||||
style.Colors[ImGuiCol_Text] = ImVec4(0.89f, 0.90f, 0.90f, 1.00f);
|
||||
style.Colors[ImGuiCol_TextDisabled] = ImVec4(0.60f, 0.60f, 0.60f, 1.00f);
|
||||
style.Colors[ImGuiCol_WindowBg] = ImVec4(0.00f, 0.06f, 0.00f, 1.00f);
|
||||
|
||||
Reference in New Issue
Block a user