Revert "rip em out"

This reverts commit 738a9b80f3.
This commit is contained in:
briaguya 2024-02-19 17:27:06 -05:00
parent 6e5627d5dc
commit a60b7440c9
2 changed files with 12 additions and 0 deletions

View File

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

View File

@ -24,6 +24,7 @@ public:
void UpdateElement() override {};
InputViewer();
~InputViewer();
void Draw();
@ -40,6 +41,7 @@ public:
void UpdateElement() override {};
InputViewerSettingsWindow();
~InputViewerSettingsWindow();
void Draw();
};