mirror of https://github.com/PCSX2/pcsx2.git
FSUI: Remove PushSecondaryColor
It's not being used, and this way I can rename some colors to better describe our usage of them
This commit is contained in:
parent
96a43ca254
commit
7ca726492f
|
@ -578,20 +578,6 @@ void ImGuiFullscreen::PopPrimaryColor()
|
||||||
ImGui::PopStyleColor(5);
|
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)
|
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));
|
ImGui::SetNextWindowPos(ImVec2(expand_to_screen_width ? 0.0f : g_layout_padding_left, pos_y));
|
||||||
|
|
|
@ -136,8 +136,6 @@ namespace ImGuiFullscreen
|
||||||
|
|
||||||
void PushPrimaryColor();
|
void PushPrimaryColor();
|
||||||
void PopPrimaryColor();
|
void PopPrimaryColor();
|
||||||
void PushSecondaryColor();
|
|
||||||
void PopSecondaryColor();
|
|
||||||
|
|
||||||
void DrawWindowTitle(const char* title);
|
void DrawWindowTitle(const char* title);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue