From 83d8e1caf42b07b45da81b4a5e9e70831446a985 Mon Sep 17 00:00:00 2001 From: aMannus Date: Sun, 31 Jul 2022 18:26:18 +0200 Subject: [PATCH] Code cleanup --- soh/soh/Enhancements/debugger/ImGuiHelpers.cpp | 4 +--- soh/soh/Enhancements/debugger/ImGuiHelpers.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/soh/soh/Enhancements/debugger/ImGuiHelpers.cpp b/soh/soh/Enhancements/debugger/ImGuiHelpers.cpp index 03d872a368..c5af1dc299 100644 --- a/soh/soh/Enhancements/debugger/ImGuiHelpers.cpp +++ b/soh/soh/Enhancements/debugger/ImGuiHelpers.cpp @@ -1,5 +1,4 @@ #include "ImGuiHelpers.h" -#include "Lib/ImGui/imgui_internal.h" // Adds a text tooltip for the previous ImGui item void SetLastItemHoverText(const std::string& text) { @@ -22,7 +21,6 @@ void InsertHelpHoverText(const std::string& text) { } void PaddedSeparator(bool topPadding, bool bottomPadding, float x, float y) { - ImGuiWindow* window = ImGui::GetCurrentWindow(); if (topPadding) { ImGui::Dummy(ImVec2(x, y)); } @@ -30,4 +28,4 @@ void PaddedSeparator(bool topPadding, bool bottomPadding, float x, float y) { if (bottomPadding) { ImGui::Dummy(ImVec2(x, y)); } -} \ No newline at end of file +} diff --git a/soh/soh/Enhancements/debugger/ImGuiHelpers.h b/soh/soh/Enhancements/debugger/ImGuiHelpers.h index fd60a5120d..617e874d1c 100644 --- a/soh/soh/Enhancements/debugger/ImGuiHelpers.h +++ b/soh/soh/Enhancements/debugger/ImGuiHelpers.h @@ -7,4 +7,4 @@ void SetLastItemHoverText(const std::string& text); void InsertHelpHoverText(const std::string& text); -void PaddedSeparator(bool topPadding = true, bool bottomPadding = true, float x = 0.0f, float y = 0.0f); \ No newline at end of file +void PaddedSeparator(bool topPadding = true, bool bottomPadding = true, float x = 0.0f, float y = 0.0f);