Skip to content

Commit

Permalink
Change custom Imgui styles to purple
Browse files Browse the repository at this point in the history
  • Loading branch information
drhelius committed Dec 16, 2024
1 parent 0b712d2 commit 885e183
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions platforms/desktop-shared/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1813,45 +1813,45 @@ static void set_style(void)
style.Colors[ImGuiCol_BorderShadow] = ImVec4(0.3058823645114899f, 0.3058823645114899f, 0.3058823645114899f, 1.0f);
style.Colors[ImGuiCol_FrameBg] = ImVec4(0.1843137294054031f, 0.1843137294054031f, 0.1843137294054031f, 1.0f);
style.Colors[ImGuiCol_FrameBgHovered] = ImVec4(0.270386278629303f, 0.2703835666179657f, 0.2703848779201508f, 1.0f);
style.Colors[ImGuiCol_FrameBgActive] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_FrameBgActive] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_TitleBg] = ImVec4(0.1450980454683304f, 0.1450980454683304f, 0.1490196138620377f, 1.0f);
style.Colors[ImGuiCol_TitleBgActive] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_TitleBgActive] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_TitleBgCollapsed] = ImVec4(0.1450980454683304f, 0.1450980454683304f, 0.1490196138620377f, 1.0f);
style.Colors[ImGuiCol_MenuBarBg] = ImVec4(0.1176470592617989f, 0.1176470592617989f, 0.1176470592617989f, 1.0f);
style.Colors[ImGuiCol_ScrollbarBg] = ImVec4(0.1176470592617989f, 0.1176470592617989f, 0.1176470592617989f, 1.0f);
style.Colors[ImGuiCol_ScrollbarGrab] = ImVec4(0.6266094446182251f, 0.6266031861305237f, 0.6266063451766968f, 1.0f);
style.Colors[ImGuiCol_ScrollbarGrabHovered] = ImVec4(0.9999899864196777f, 0.9999899864196777f, 1.0f, 1.0f);
style.Colors[ImGuiCol_ScrollbarGrabActive] = ImVec4(0.9999899864196777f, 0.9999899864196777f, 1.0f, 1.0f);
style.Colors[ImGuiCol_CheckMark] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_SliderGrab] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_SliderGrabActive] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_CheckMark] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_SliderGrab] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_SliderGrabActive] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_Button] = ImVec4(0.184547483921051f, 0.184547483921051f, 0.1845493316650391f, 1.0f);
style.Colors[ImGuiCol_ButtonHovered] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_ButtonActive] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_ButtonHovered] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_ButtonActive] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_Header] = ImVec4(0.1843137294054031f, 0.1843137294054031f, 0.1843137294054031f, 1.0f);
style.Colors[ImGuiCol_HeaderHovered] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_HeaderActive] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_HeaderHovered] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_HeaderActive] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_Separator] = ImVec4(0.1803921610116959f, 0.1803921610116959f, 0.1803921610116959f, 1.0f);
style.Colors[ImGuiCol_SeparatorHovered] = ImVec4(0.1803921610116959f, 0.1803921610116959f, 0.1803921610116959f, 1.0f);
style.Colors[ImGuiCol_SeparatorActive] = ImVec4(0.1803921610116959f, 0.1803921610116959f, 0.1803921610116959f, 1.0f);
style.Colors[ImGuiCol_ResizeGrip] = ImVec4(0.2489270567893982f, 0.2489245682954788f, 0.2489245682954788f, 1.0f);
style.Colors[ImGuiCol_ResizeGripHovered] = ImVec4(1.0f, 0.9999899864196777f, 0.9999899864196777f, 1.0f);
style.Colors[ImGuiCol_ResizeGripActive] = ImVec4(1.0f, 0.9999899864196777f, 0.9999899864196777f, 1.0f);
style.Colors[ImGuiCol_Tab] = ImVec4(0.1450980454683304f, 0.1450980454683304f, 0.1490196138620377f, 1.0f);
style.Colors[ImGuiCol_TabHovered] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_TabActive] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_TabHovered] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_TabActive] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_TabUnfocused] = ImVec4(0.1450980454683304f, 0.1450980454683304f, 0.1490196138620377f, 1.0f);
style.Colors[ImGuiCol_TabUnfocusedActive] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_PlotLines] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_PlotLinesHovered] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_PlotHistogram] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_PlotHistogramHovered] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_TabUnfocusedActive] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_PlotLines] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_PlotLinesHovered] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_PlotHistogram] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_PlotHistogramHovered] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_TableHeaderBg] = ImVec4(0.1882352977991104f, 0.1882352977991104f, 0.2000000029802322f, 1.0f);
style.Colors[ImGuiCol_TableBorderStrong] = ImVec4(0.3098039329051971f, 0.3098039329051971f, 0.3490196168422699f, 1.0f);
style.Colors[ImGuiCol_TableBorderLight] = ImVec4(0.2274509817361832f, 0.2274509817361832f, 0.2470588237047195f, 1.0f);
style.Colors[ImGuiCol_TableRowBg] = ImVec4(0.0f, 0.0f, 0.0f, 0.0f);
style.Colors[ImGuiCol_TableRowBgAlt] = ImVec4(1.0f, 1.0f, 1.0f, 0.05999999865889549f);
style.Colors[ImGuiCol_TextSelectedBg] = ImVec4(0.4117647058823529f, 0.7019607843137254f, 0.01568627450980392f, 1.0f);
style.Colors[ImGuiCol_TextSelectedBg] = ImVec4(0.5215686274509804f, 0.43137254901960786f, 0.8156862745098039f, 1.0f);
style.Colors[ImGuiCol_DragDropTarget] = ImVec4(0.1450980454683304f, 0.1450980454683304f, 0.1490196138620377f, 1.0f);
style.Colors[ImGuiCol_NavHighlight] = ImVec4(0.1450980454683304f, 0.1450980454683304f, 0.1490196138620377f, 1.0f);
style.Colors[ImGuiCol_NavWindowingHighlight] = ImVec4(1.0f, 1.0f, 1.0f, 0.699999988079071f);
Expand Down

0 comments on commit 885e183

Please sign in to comment.