From a60b7440c990530284ecc180463eb3d8e0bee034 Mon Sep 17 00:00:00 2001 From: briaguya <70942617+briaguya-ai@users.noreply.github.com> Date: Mon, 19 Feb 2024 17:27:06 -0500 Subject: [PATCH] Revert "rip em out" This reverts commit 738a9b80f327fe728e176d63ab2d54a36fb908ad. --- soh/soh/Enhancements/controls/InputViewer.cpp | 10 ++++++++++ soh/soh/Enhancements/controls/InputViewer.h | 2 ++ 2 files changed, 12 insertions(+) diff --git a/soh/soh/Enhancements/controls/InputViewer.cpp b/soh/soh/Enhancements/controls/InputViewer.cpp index 48593caa0..d7e0b4310 100644 --- a/soh/soh/Enhancements/controls/InputViewer.cpp +++ b/soh/soh/Enhancements/controls/InputViewer.cpp @@ -35,6 +35,11 @@ static ImVec4 color2Vec(Color_RGBA8 color) { return ImVec4(color.r / 255.0, color.g / 255.0, color.b / 255.0, color.a / 255.0); } +InputViewer::~InputViewer() { + // + // SPDLOG_TRACE("destruct input viewer"); +} + void InputViewer::RenderButton(std::string btnTexture, std::string btnOutlineTexture, int state, ImVec2 size, int outlineMode) { const ImVec2 pos = ImGui::GetCursorPos(); @@ -349,6 +354,11 @@ void InputViewer::DrawElement() { } } +InputViewerSettingsWindow::~InputViewerSettingsWindow() { + // + // SPDLOG_TRACE("destruct input viewer settings window"); +} + void InputViewerSettingsWindow::DrawElement() { ImGui::SetNextWindowSize(ImVec2(450, 525), ImGuiCond_FirstUseEver); diff --git a/soh/soh/Enhancements/controls/InputViewer.h b/soh/soh/Enhancements/controls/InputViewer.h index d173acc73..646c15d9d 100644 --- a/soh/soh/Enhancements/controls/InputViewer.h +++ b/soh/soh/Enhancements/controls/InputViewer.h @@ -24,6 +24,7 @@ public: void UpdateElement() override {}; InputViewer(); + ~InputViewer(); void Draw(); @@ -40,6 +41,7 @@ public: void UpdateElement() override {}; InputViewerSettingsWindow(); + ~InputViewerSettingsWindow(); void Draw(); }; \ No newline at end of file