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