From 7ca726492f82b630f3a4356246ab96b117ce8612 Mon Sep 17 00:00:00 2001 From: TellowKrinkle Date: Sun, 16 Jul 2023 19:33:15 -0500 Subject: [PATCH] FSUI: Remove PushSecondaryColor It's not being used, and this way I can rename some colors to better describe our usage of them --- pcsx2/ImGui/ImGuiFullscreen.cpp | 14 -------------- pcsx2/ImGui/ImGuiFullscreen.h | 2 -- 2 files changed, 16 deletions(-) diff --git a/pcsx2/ImGui/ImGuiFullscreen.cpp b/pcsx2/ImGui/ImGuiFullscreen.cpp index d3a6bcb50f..385a8d0c45 100644 --- a/pcsx2/ImGui/ImGuiFullscreen.cpp +++ b/pcsx2/ImGui/ImGuiFullscreen.cpp @@ -578,20 +578,6 @@ void ImGuiFullscreen::PopPrimaryColor() ImGui::PopStyleColor(5); } -void ImGuiFullscreen::PushSecondaryColor() -{ - ImGui::PushStyleColor(ImGuiCol_Text, UISecondaryTextColor); - ImGui::PushStyleColor(ImGuiCol_Button, UISecondaryDarkColor); - ImGui::PushStyleColor(ImGuiCol_ButtonActive, UISecondaryColor); - ImGui::PushStyleColor(ImGuiCol_ButtonHovered, UISecondaryLightColor); - ImGui::PushStyleColor(ImGuiCol_Border, UISecondaryLightColor); -} - -void ImGuiFullscreen::PopSecondaryColor() -{ - ImGui::PopStyleColor(5); -} - bool ImGuiFullscreen::BeginFullscreenColumns(const char* title, float pos_y, bool expand_to_screen_width) { ImGui::SetNextWindowPos(ImVec2(expand_to_screen_width ? 0.0f : g_layout_padding_left, pos_y)); diff --git a/pcsx2/ImGui/ImGuiFullscreen.h b/pcsx2/ImGui/ImGuiFullscreen.h index fb43371db7..dabb0b8b39 100644 --- a/pcsx2/ImGui/ImGuiFullscreen.h +++ b/pcsx2/ImGui/ImGuiFullscreen.h @@ -136,8 +136,6 @@ namespace ImGuiFullscreen void PushPrimaryColor(); void PopPrimaryColor(); - void PushSecondaryColor(); - void PopSecondaryColor(); void DrawWindowTitle(const char* title);