Code cleanup

This commit is contained in:
aMannus 2022-07-31 18:26:18 +02:00
parent 8b023188a0
commit 83d8e1caf4
2 changed files with 2 additions and 4 deletions

View File

@ -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));
}
}
}

View File

@ -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);
void PaddedSeparator(bool topPadding = true, bool bottomPadding = true, float x = 0.0f, float y = 0.0f);