feat: add some more theme elements
CI / build-and-test (push) Successful in 2m14s

This commit is contained in:
2025-11-21 11:16:14 +13:00
parent 4f6efceb98
commit c48acecd7c
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -31,8 +31,8 @@ Size=212,57
Collapsed=0
[Window][##TOAST2]
Pos=1062,509
Size=198,57
Pos=1048,509
Size=212,57
Collapsed=0
[Window][##TOAST3]
+4 -4
View File
@@ -80,7 +80,8 @@ void GuiManager::SetupDockspace(RenderTexture2D &renderTexture)
{
if (ImGui::BeginMenu("Game"))
{
if (ImGui::MenuItem("Quit", "Ctrl + Q")) {
if (ImGui::MenuItem("Quit", "Ctrl + Q"))
{
// Handle quit here
app->RequestShutdown();
}
@@ -141,7 +142,6 @@ void GuiManager::RenderNotifications()
ImGui::PopStyleVar(2);
ImGui::PopStyleColor(1);
}
void GuiManager::SetTheme()
{
@@ -184,8 +184,8 @@ void GuiManager::SetTheme()
colors[ImGuiCol_TabActive] = ImVec4(0.20f, 0.20f, 0.20f, 0.36f);
colors[ImGuiCol_TabUnfocused] = ImVec4(0.00f, 0.00f, 0.00f, 0.52f);
colors[ImGuiCol_TabUnfocusedActive] = ImVec4(0.14f, 0.14f, 0.14f, 1.00f);
// colors[ImGuiCol_DockingPreview] = ImVec4(0.33f, 0.67f, 0.86f, 1.00f);
// colors[ImGuiCol_DockingEmptyBg] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
colors[ImGuiCol_DockingPreview] = ImVec4(0.33f, 0.67f, 0.86f, 1.00f);
colors[ImGuiCol_DockingEmptyBg] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
colors[ImGuiCol_PlotLines] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
colors[ImGuiCol_PlotLinesHovered] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);
colors[ImGuiCol_PlotHistogram] = ImVec4(1.00f, 0.00f, 0.00f, 1.00f);